Beispiel #1
0
        public void CheckStartDayInput(string inputString, Day day, Player player)
        {
            switch (inputString)
            {
            case "1":
                day.Shop(player);
                break;

            case "2":
                day.RunNewspaper(players);
                break;

            case "3":
                day.ChangeRecipe(player);
                break;

            case "4":
                UI.DisplayPlayerInventory(player);
                break;

            case "q":
                Quit();
                break;

            case "m":
                MainMenu(player);
                break;

            default:
                Console.WriteLine("Oops! Invalid entry. Try again.");
                UI.DisplayMenu(menuOptions);
                break;
            }
        }