public static int Add_IngredientToInventory(Ingredient newIngredient) { //Add new ingredient to end of inventory list m_Inventory.Add(newIngredient); return(m_Inventory.Count); }
void Cook(Ingredient ingredient) { Thread.Sleep(ingredient.CookingTime.Value); }