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/decaf.d

17 lines
232 B
D
Raw Normal View History

2022-11-11 12:51:42 +00:00
module decorator.coffeewithsize.decaf;
import decorator.coffeewithsize.beverage;
class Decaf : Beverage
{
this()
{
description = "Decaf Coffee";
}
override double cost()
{
return 1.05;
}
}