// Decide if customer will buy lemonade based on weather, recipe, and personal preferences. // Returns how many cups the customer will buy. public abstract int BuysLemonade(Weather weather, Recipe recipe);
// constructor (SPAWNER) public Pitcher(Player player) { newRecipe = new Recipe(player); cupsRemaining = 25; }
public void DisplayProfit(Recipe recipe) { profit = totalcustomers * recipe.pricePerCup; Console.WriteLine("The profit from today's sale is $" + profit + "!"); }