//public void CalcAmountofCustomers() //{ // Random random = new Random(); // customerCount = rand.NextDouble(); //} public void SetHall(string hallString) { if (hallString == "A") { hall1 = new HallA(); } if (hallString == "A2") { hall1 = new HallA2(); } }
public Male(int customerID, int customerAmount, Hall hallChosen, ref Random r) : base(customerID, customerAmount, hallChosen, ref r) { userObject = (Image) new System.Drawing.Bitmap(@"object.png"); }