patterns/factorymethod/pizzafactorymethod/nystylecheesepizza.d

16 lines
338 B
D

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";
}
}