end
class OneBottle
-special Bottle
+ super Bottle
redef fun sing
do
sing_start
end
class TwoBottles
-special Bottle
+ super Bottle
redef fun sing
do
sing_start
end
class Bottles
-special Bottle
+ super Bottle
redef fun sing
do
_quantity = i
end
- var _quantity: Int
+ var quantity: Int
end
var i = 99