public void MakePizza() { dough.AddCheese(cheese); dough.AddSauce(sauce); dough.AddTopping(topping); oven.SetTemperature(450); oven.SetTimer(15); oven.Cook(dough); }
public void MakePizza() { Dough.AddSauce(Sauce); Dough.AddCheese(Cheese); Dough.AddTopping(Topping); Oven.SetTemperature(425); Oven.SetTimer(10); Oven.Cook(Dough); System.Console.WriteLine("Made Pizza with :" + Topping.DescribeTopping()); }
public void MakePizza() { Console.WriteLine("Making pizza."); _dough.AddSauce(_sauce); _dough.AddCheese(_cheese); _dough.AddTopping(_topping); Console.WriteLine(""); _oven.SetTemperature(425); _oven.SetTimer(20); _oven.Cook(_dough); }