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
417 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.pepperonipizza;
import factorymethod.pizzasimple.pizza;
class PepperoniPizza : Pizza
{
this()
{
name = "Пицца с пепперони";
dough = "Корка";
sauce = "Соус Маринара";
toppings ~= "Нарезанные пепперони";
toppings ~= "Нарезанный лук";
toppings ~= "Тертый сыр пармезан";
}
}