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/factorymethod/pizzafactorymethod/nystylecheesepizza.d

16 lines
338 B
D
Raw Normal View History

2022-11-12 19:47:14 +00:00
module factorymethod.pizzafactorymethod.nystylecheesepizza;
import factorymethod.pizzafactorymethod.pizza;
class NYStyleCheesePizza : Pizza
{
this()
{
name = "NY Style Sauce and Cheese Pizza";
dough = "Thin Crust Dough";
sauce = "Marinara Sauce";
toppings ~= "Grated Reggiano Cheese";
}
}