public static void CreateCitizens() { for (int i = 0; i < 30; i++) { Civilian c = new Civilian(); Citizens.Add(c); } for (int i = 0; i < 20; i++) { Theif t = new Theif(i + 1); Citizens.Add(t); } for (int i = 0; i < 15; i++) { Police p = new Police(); Citizens.Add(p); } }
private static void SocietyBuild() { for (int i = 0; i < 20; i++) { Theif Theif = new Theif(); theif.Add(Theif); } for (int i = 0; i < 30; i++) { Citizen Citz = new Citizen(); // Citz items in List citizen.Add(Citz); } for (int i = 0; i < 20; i++) { Police Police = new Police(); police.Add(Police); } }