module factorymethod.pizzafactorymethod.chicagostylepepperonipizza; import factorymethod.pizzafactorymethod.pizza; import std.stdio : writeln; class ChicagoStylePepperoniPizza : Pizza { this() { name = "Chicago Style Pepperoni Pizza"; dough = "Extra Thick Crust Dough"; sauce = "Plum Tomato Sauce"; toppings ~= "Shredded Mozzarella Cheese"; toppings ~= "Black Olives"; toppings ~= "Spinach"; toppings ~= "Eggplant"; toppings ~= "Sliced Pepperoni"; } override void cut() { writeln("Cutting the pizza into square slices"); } }