patterns/decorator/coffee/espresso.d

17 lines
218 B
D
Raw Normal View History

2022-12-05 07:38:19 +00:00
module decorator.coffee.espresso;
import decorator.coffee.beverage;
class Espresso : Beverage
{
this()
{
description = "Espresso";
}
override double cost()
{
return 1.99;
}
}