Пример #1
0
 public void MeniuClasic(IMealBuilder classic)
 {
     classic.BuildNew(NewMeal.MenuClassic);
     classic.BuildBurger(Burger.BigMac);
     classic.BuildPotatoe(Potatoe.Wedges);
     classic.BuildWraps(Wraps.None);
     classic.BuildSalad(Salads.Greek);
     classic.BuildSweets(Sweets.None);
     classic.BuildPortion(Portion.No);
 }
Пример #2
0
 public void MeniuPremium(IMealBuilder premium)
 {
     premium.BuildNew(NewMeal.MenuPremium);
     premium.BuildBurger(Burger.Hamburger);
     premium.BuildPotatoe(Potatoe.FrenchFries);
     premium.BuildWraps(Wraps.Hashwrap);
     premium.BuildSalad(Salads.Caesar);
     premium.BuildSweets(Sweets.Croissant);
     premium.BuildPortion(Portion.No);
 }
Пример #3
0
 public void HappyMeal(IMealBuilder happym)
 {
     happym.BuildNew(NewMeal.HappyMeal);
     happym.BuildBurger(Burger.Cheeseburger);
     happym.BuildPotatoe(Potatoe.FrenchFries);
     happym.BuildWraps(Wraps.None);
     happym.BuildSalad(Salads.None);
     happym.BuildSweets(Sweets.None);
     happym.BuildPortion(Portion.Yes);
 }