public void ChangeRecipeSwitch(string input) { switch (input) // check against inventory { case "lemons": amountOfLemons = UserInterface.IntGetUserInput("How many lemons do you want in each pitcher?"); break; case "sugar": amountOfSugarCups = UserInterface.IntGetUserInput("How much sugar do you want in each pitcher?"); break; case "ice": amountOfIceCubes = UserInterface.IntGetUserInput("How much Ice do you want in each cup?"); break; case "price": pricePerCup = UserInterface.GetUserPriceInput("What do you want to charge per cup? ($0.01 = $1.00)"); // double break; case "done": leaveRecipe = true; break; } }
public void SetGameLength() { gameLength = UserInterface.Limiter(UserInterface.IntGetUserInput("How many days do you have until your parents get home? (Max 30)"), 1, 30); // validate num? Console.Clear(); }