patterns/decorator/coffeewithsize/darkroast.d

17 lines
244 B
D
Raw Normal View History

2022-12-05 07:38:19 +00:00
module decorator.coffeewithsize.darkroast;
import decorator.coffeewithsize.beverage;
class DarkRoast : Beverage
{
this()
{
description = "Dark Roast Coffee";
}
override double cost()
{
return .99;
}
}