patterns/decorator/coffeewithsize/espresso.d

17 lines
234 B
D

module decorator.coffeewithsize.espresso;
import decorator.coffeewithsize.beverage;
class Espresso : Beverage
{
this()
{
description = "Espresso";
}
override double cost()
{
return 1.99;
}
}