Example #1
0
 public void BuildPizza()
 {
     _pizzaBuilder.SelectCrust();
     _pizzaBuilder.AddSauce();
     _pizzaBuilder.AddToppings();
     _pizzaBuilder.SetPrice();
 }
Example #2
0
 public void ConstructPizza()
 {
     pizzaBuilder.PrepareDough();
     pizzaBuilder.AddSauce();
     pizzaBuilder.AddToppings();
     pizzaBuilder.BakePizza();
 }