Esempio n. 1
0
        public void MakeCustomer(Weather weather, Random random)
        {
            double people = weather.temp * .50;

            for (int i = 0; i < people; i++)


            {
                customer.thirst       = customer.GetThirst(random);
                customer.customerCash = customer.GetCustomerCash(random);
                CustomerList.Add(new Customer(customer.thirst, customer.customerCash));
                Console.WriteLine("Test for thirst and cash" + customer.thirst + customer.customerCash);
            }
        }