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/pepperonipizza.d

17 lines
447 B
D
Raw Permalink Normal View History

2022-11-11 22:22:12 +00:00
module factorymethod.pizzasimple.pepperonipizza;
import factorymethod.pizzasimple.pizza;
class PepperoniPizza : Pizza
{
this()
{
name = "Пицца с пепперони";
2022-11-11 22:24:33 +00:00
dough = "Корка";
sauce = "Соус Маринара";
toppings ~= "Нарезанные пепперони";
toppings ~= "Нарезанный лук";
toppings ~= "Тертый сыр пармезан";
2022-11-11 22:22:12 +00:00
}
}