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

18 lines
283 B
D

module coffee;
import std.stdio : writeln;
import caffeinebeverage;
class Coffee : CaffeineBeverage
{
override void brew()
{
writeln("Dripping Coffee through filter");
}
override void addCondiments()
{
writeln("Adding Sugar and Milk");
}
}