/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void BriarheartBurgerSelection(object sender, RoutedEventArgs e) { BriarheartBurger entree = new BriarheartBurger(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = entree }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void MadOtarGritsSelection(object sender, RoutedEventArgs e) { MadOtarGrits side = new MadOtarGrits(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = side }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void DragonbornWaffleFriesSelection(object sender, RoutedEventArgs e) { DragonbornWaffleFries side = new DragonbornWaffleFries(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = side }); }
//sides: /// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void VokunSaladSelection(object sender, RoutedEventArgs e) { VokunSalad side = new VokunSalad(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = side }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void FriedMiraakSelection(object sender, RoutedEventArgs e) { FriedMiraak side = new FriedMiraak(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = side }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void CandlehearthCoffeeSelection(object sender, RoutedEventArgs e) { CandlehearthCoffee drink = new CandlehearthCoffee(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = drink }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void GardenOrcOmeletteSelection(object sender, RoutedEventArgs e) { GardenOrcOmelette entree = new GardenOrcOmelette(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = entree }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void MarkarthMilkSelection(object sender, RoutedEventArgs e) { MarkarthMilk drink = new MarkarthMilk(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = drink }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void AretinoAppleJuiceSelection(object sender, RoutedEventArgs e) { AretinoAppleJuice drink = new AretinoAppleJuice(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = drink }); }
//drinks: /// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void SailorsSodaSelection(object sender, RoutedEventArgs e) { SailorSoda drink = new SailorSoda(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = drink }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void ThugsTBoneSelection(object sender, RoutedEventArgs e) { ThugsTBone entree = new ThugsTBone(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = entree }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void PhillyPoacherSelection(object sender, RoutedEventArgs e) { PhillyPoacher entree = new PhillyPoacher(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = entree }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void DoubleDraugrSelection(object sender, RoutedEventArgs e) { DoubleDraugr entree = new DoubleDraugr(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = entree }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void WarriorWaterSelection(object sender, RoutedEventArgs e) { WarriorWater drink = new WarriorWater(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = drink }); }
/// <summary> /// A button click event that send the information from the food button /// to the MenuSelectionEvent which will be accessed by the FoodButtonClickEvent /// in the Order class /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void SmokehouseSkeletonSelection(object sender, RoutedEventArgs e) { SmokehouseSkeleton entree = new SmokehouseSkeleton(); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = entree }); }
public void ConfirmComboSelection(object sender, RoutedEventArgs e) { if (chosenEntree != null && chosenSide != null && chosenDrink != null) { ComboOrder combo = new ComboOrder(chosenEntree, chosenSide, chosenDrink); FoodSelected?.Invoke(this, new MenuSelectionEvent() { fooditem = combo }); } else { MessageBox.Show("please finish selecting combo"); } }
private void OnFoodClicked(TavernFood food) { FoodSelected?.Invoke(food.Food); RefreshActiveFood(); }