//Member Methods public void StartGame() { playerOne.GetPlayerName(); User_Interface.DisplayMessage("Welcome To The Game: " + playerOne.name); weatherTodayResult = weatherToday.TodaysWeather(); DisplayWeatherToday(weatherTodayResult); playerMoney = money.DisplayMoneyInWallet(); getSupplies = buySupplies.BuyLemon(); getSupplies = buySupplies.BuyIce(); getSupplies = buySupplies.BuySuger(); getSupplies = buySupplies.BuyCup(); pricePerCup = chargePrice.InputPrice(); numberOfCustomersToday = todaysCustomer.CustomersToday(weatherTodayResult); buyingCustomersWeather = todaysCustomer.DetermineWillBuyWeather(weatherTodayResult); buyTodayWeatherPrice = todaysCustomer.DetermineWillBuyPrice(pricePerCup); }
//member methods (Can Do) public void RunGame() { UserInterface.DisplayRules(); UserInterface.DisplayWeatherForecast(days); while (day.numberOfDays <= 7) { day.CreateCustomer(); player.recipe.SetRecipe(); UserInterface.DisplayStock(); store.BuyCups(); store.BuyLemon(); store.BuySugar(); store.BuyIce(); Console.WriteLine("Here is your money leftover! " + player.wallet.Money); Console.ReadLine(); player.pitcher.DisplayPitcherCups(player); DisplayActualWeather(); day.ChoiceToBuy(weather, player); Console.WriteLine("Here is your amount of money after the day! " + player.wallet.Money); Console.ReadLine(); } }