Beispiel #1
0
        }/*public CustomerCheck()*/

        /// <summary>
        /// Adds a meal to the list that represents the customer's orders
        /// </summary>
        /// <remarks>
        /// NAME: AddMealToCheck
        /// AUTHOR: Ryan Osgood
        /// DATE: 8/14/2019
        /// </remarks>
        /// <param name="a_meal">The meal to be added to the customer checks</param>
        public void AddMealToCheck(Meal a_meal)
        {
            m_customerOrders.Add(a_meal);
        }/*public void AddMealToCheck(Meal a_meal)*/
Beispiel #2
0
 /// <summary>
 /// A constructor for the MealView object. Passes a Meal which this object is passed around.
 /// </summary>
 /// <remarks>
 /// NAME: MealView
 /// AUTHOR: Ryan Osgood
 /// DATE: 8/15/2019
 /// </remarks>
 /// <param name="a_meal">The meal with which this MealView is based on.</param>
 public MealView(Meal a_meal)
 {
     m_customerMeal = a_meal;
 }/*public MealView(Meal a_meal)*/