Exemple #1
0
 def __init__(self, cut_behavior):
     Pizza.__init__(self, cut_behavior)
     self.name = "Chicago Style Deep Dish Pizza"
     self.dough = "Extra Thick Crust Dough"
     self.sauce = "Plum Tomato Sauce"
 def __init__(self, ingredientFactory):
     Pizza.__init__(self)
     assert isinstance(ingredientFactory, PizzaIngredientFactory)
     self.ingredientFactory = ingredientFactory