//member method public void RunDay(Player player, Store store, Inventory inventory, Recipe recipe, double transactionAmount, Customer customer) { store.SellLemons(player); // player buys inventory from the store store.SellSugarCubes(player); store.SellIceCubes(player); store.SellCups(player); player.wallet.PayMoneyForItems(transactionAmount); // pays for the things bought above player.wallet.DisplayBalanceMoney(); // it should now how much money is left weather.DisplayForecast(); // based on the forecast recipe is made player.recipe.AmountOfLemons(player.inventory); // changed it from earlier version, as i had not accounted for the fact, what if the amount filled in the recipe is more than what is available in the inventory. player.recipe.AmountOfSugarCubes(player.inventory); player.recipe.AmountOfIceCubes(player.inventory); player.recipe.PricePerCup(); player.pitcher.CreatePitcher(player.inventory, player.recipe); weather.DisplayActualWeather(); // now based on the actual weather customers will walk in CreateCustomerWalkIns(); CreateCustomers(); customer.SellLemonade(player, recipe, inventory); DailyIncome(player); AddIncomeToWallet(player.wallet); DisplayCurrentTotal(); }