예제 #1
0
        // RUN DAY METHOD

        public void RunDay(Player player, Store store, Day day)
        {
            bool inventoryCheck = player.inventory.InventoryCheck();

            if (inventoryCheck)
            {
                GenerateWeather();
                UI.DisplayActualWeather(weather.actualCondition, weather.actualTemperature);
                SetQualityControl();
            }
            else
            {
                UI.DisplayInventoryContents(player.inventory);
                UI.DisplayNotEnoughInventory();
                // display "not enough inventory items to run a day"
                // travel to the store to purchase items
            }
        }