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

21 lines
485 B
D

module factorymethod.pizzafactorymethod.nystylepepperonipizza;
import factorymethod.pizzafactorymethod.pizza;
class NYStylePepperoniPizza : Pizza
{
this()
{
name = "NY Style Pepperoni Pizza";
dough = "Thin Crust Dough";
sauce = "Marinara Sauce";
toppings ~= "Grated Reggiano Cheese";
toppings ~= "Sliced Pepperoni";
toppings ~= "Garlic";
toppings ~= "Onion";
toppings ~= "Mushrooms";
toppings ~= "Red Pepper";
}
}