示例#1
0
 public void CreateRecipe(Recipe recipe)
 {
     recipe = new Recipe();
     recipe.ChangeRecipe();
     recipe.SetRecipe(inventory);
     inventory.RemoveItems(recipe);
     inventory.DisplayInventory();
 }
示例#2
0
        public void GetRecipeMenu()
        {
            bool exitRecipe = false;

            while (exitRecipe == false)
            {
                UserInterface.DisplayRecipeOptions(recipe.LemonQuantity, recipe.SugarQuantity, recipe.IceQuantity, recipe.Price);
                exitRecipe = recipe.SetRecipe();
            }
        }
示例#3
0
 public void SetRecipe(Inventory inventory)
 {
     newRecipe.SetRecipe(inventory);
 }