Beispiel #1
0
 public void Cold(IDrinkBuilder cold)
 {
     cold.BuildType(Type.Cold);
     cold.BuildCoffee(Coffee.None);
     cold.BuildTea(Tea.None);
     cold.BuildJuice(Juice.None);
     cold.BuildSoda(Soda.Cola);
     cold.BuildSpecial(Special.Ice);
 }
Beispiel #2
0
 public void Hot(IDrinkBuilder hot)
 {
     hot.BuildType(Type.Hot);
     hot.BuildCoffee(Coffee.None);
     hot.BuildTea(Tea.Black);
     hot.BuildJuice(Juice.None);
     hot.BuildSoda(Soda.None);
     hot.BuildSpecial(Special.Sugar);
 }