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());
 }
Exemple #3
0
 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);
 }
Exemple #4
0
        public void MakePizza()
        {
            Dough dough   = new Dough();
            Sauce sauceOB = new Sauce(saucep);

            //     Topping mushroom = new Topping();
            //   Cheese mozzarella = new Cheese("mozzarla");
            //   Oven oven = new Oven();

            //   Console.WriteLine(sauce);

            dough.AddSauce(sauceOB.p);

            //  dough.AddSauce(new Sauce(sauce).p);
            //     dough.AddCheese(cheese);
            //    dough.AddTopping(top);
            //   oven.SetTemperature(425);
            //    oven.SetTimer(20);
            //    oven.Cook(dough);
        }