patterns/decorator/coffee/darkroast.d

17 lines
228 B
D
Raw Normal View History

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