patterns/decorator/coffeewithsize/houseblend.d

17 lines
247 B
D
Raw Normal View History

2022-12-05 07:38:19 +00:00
module decorator.coffeewithsize.houseblend;
import decorator.coffeewithsize.beverage;
class HouseBlend : Beverage
{
this()
{
description = "House Blend Coffee";
}
override double cost()
{
return .89;
}
}