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