patterns/decorator/coffee/darkroast.d

17 lines
228 B
D

module decorator.coffee.darkroast;
import decorator.coffee.beverage;
class DarkRoast : Beverage
{
this()
{
description = "Dark Roast Coffee";
}
override double cost()
{
return .99;
}
}