Beispiel #1
0
 //constructor
 public Customer(Weather weather, Random rng)
 {
     ConditionCount       = recipeCount.Count;
     pricePerCupCondition = 0.50;
     AmountOfLemons(rng);
     AmountOfSugarCubes(rng);
     AmountOfIceCubes(rng);
     weather.DailyWeatherCondition(rng);
     weatherCondition = weather.condition;
     weather.DailyTempCondition(rng);
     temperatureCondition = weather.temperature;
 }