public void SalePhase(Day day, Player player) { bool firstPitcherCheck = UserInterface.CheckIfEnoughIngredients(player); while (firstPitcherCheck) { player.pitcher = player.MakeNewPitcher(); foreach (Customer customer in day.customers) { if (UserInterface.CheckForEmptyPitcher(player.pitcher)) { if (UserInterface.CheckIfEnoughIngredients(player)) { player.pitcher = player.MakeNewPitcher(); } else { break; } } CheckForCustomerPurchase(day, customer, player); } firstPitcherCheck = false; } DisplayEndOfDay(day, player); }