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/coffee/espresso.d

17 lines
218 B
D

module decorator.coffee.espresso;
import decorator.coffee.beverage;
class Espresso : Beverage
{
this()
{
description = "Espresso";
}
override double cost()
{
return 1.99;
}
}