patterns/factorymethod/pizzafactorymethod/nystyleveggiepizza.d

20 lines
436 B
D
Raw Normal View History

2022-12-05 07:38:19 +00:00
module factorymethod.pizzafactorymethod.nystyleveggiepizza;
import factorymethod.pizzafactorymethod.pizza;
class NYStyleVeggiePizza : Pizza
{
this()
{
name = "NY Style Veggie Pizza";
dough = "Thin Crust Dough";
sauce = "Marinara Sauce";
toppings ~= "Grated Reggiano Cheese";
toppings ~= "Garlic";
toppings ~= "Onion";
toppings ~= "Mushrooms";
toppings ~= "Red Pepper";
}
}