This repository has been archived on 2022-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
patterns/decorator/coffeewithsize/darkroast.d

17 lines
244 B
D

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