patterns/decorator/coffee/decaf.d

17 lines
216 B
D

module decorator.coffee.decaf;
import decorator.coffee.beverage;
class Decaf : Beverage
{
this()
{
description = "Decaf Coffee";
}
override double cost()
{
return 1.05;
}
}