/// <summary> /// Removes the given ingredient from the entree /// </summary> private void HoldPeanutButterClick(object sender, RoutedEventArgs e) { if (EntreeSelection.GetCurrentEntree(this) is PrehistoricPBJ b) { b.HoldPeanutButter(); } }
/// <summary> /// Removes the given ingredient from the entree /// </summary> private void HoldTomatoClick(object sender, RoutedEventArgs e) { if (EntreeSelection.GetCurrentEntree(this) is TRexKingBurger b) { b.HoldTomato(); } }
/// <summary> /// Removes the given ingredient from the entree /// </summary> private void HoldMustardClick(object sender, RoutedEventArgs e) { if (EntreeSelection.GetCurrentEntree(this) is SteakosaurusBurger b) { b.HoldMustard(); } }
/// <summary> /// Removes the given ingredient from the entree /// </summary> private void HoldOnionClick(object sender, RoutedEventArgs e) { if (EntreeSelection.GetCurrentEntree(this) is Brontowurst b) { b.HoldOnion(); } }
/// <summary> /// Adds a nugget to the entree /// </summary> private void AddNuggetClick(object sender, RoutedEventArgs e) { if (EntreeSelection.GetCurrentEntree(this) is DinoNuggets b) { b.AddNugget(); } }
/// <summary> /// Removes the given ingredient from the entree /// </summary> private void HoldCheeseClick(object sender, RoutedEventArgs e) { if (EntreeSelection.GetCurrentEntree(this) is VelociWrap b) { b.HoldCheese(); } }