patterns/factorymethod/pizzasimple/cheesepizza.d

16 lines
390 B
D
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module factorymethod.pizzasimple.cheesepizza;
import factorymethod.pizzasimple.pizza;
class CheesePizza : Pizza
{
this()
{
name = "Сырная пицца";
dough = "Обычная корочка";
sauce = "Соус для пиццы Маринара";
toppings ~= "Свежая моцарелла";
toppings ~= "Пармезан";
}
}