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/abstractfactory/pizzaingredientfactory.d

19 lines
438 B
D

module abstractfactory.pizzaingredientfactory;
import abstractfactory.dough;
import abstractfactory.sauce;
import abstractfactory.cheese;
import abstractfactory.veggies;
import abstractfactory.pepperoni;
import abstractfactory.clams;
interface PizzaIngredientFactory
{
Dough createDough();
Sauce createSauce();
Cheese createCheese();
Veggies[] createVeggies();
Pepperoni createPepperoni();
Clams createClam();
}