private void CityGeneration(int peopleCount) { CityMap = new CityMap(); RainEvent += CityMap.MakeRainnyMap; SunEvent += CityMap.MakeSunnyMap; for (int i = 0; i < peopleCount; i++) { AddPerson(new Person(Rand), Reason.PersonArived); } for (int i = 0; i < 4; i++) { Houses.Add(House.GenerateHouse(Rand)); } Live(); }
public void Draw() { CityMap.Draw(); CityMap.Save(); Log("IMAGE", ConsoleColor.Cyan); }