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/pizzasimple/cheesepizza.d

16 lines
390 B
D
Raw Normal View History

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