public void SetComputerProperties(int temperatureForTomorrow) { double randomCompPrice = GenerateRandom.GetRandom(10, 55); playerTwo.PricePerCup = (randomCompPrice / 100); playerTwo.CalculateCupsPerPitcher(temperatureForTomorrow); playerTwo.LemonsPerPitcher = (GenerateRandom.GetRandom(3, 7)); playerTwo.SugarPerPitcher = ((GenerateRandom.GetRandom(3, 7))); }
public int GenerateRandomTemperature(int minTemp = 45, int maxTemp = 106) { return(GenerateRandom.GetRandom(minTemp, maxTemp)); }