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
366 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 ~= "Пармезан";
}
}