public void StartGame() { Panel.SetActive( false); char[,] AiMap = new char[1, 1]; AiMap = MapGen.GetMap(); TreeMgr.GenerateTrees(AiMap); for (int i = 0; i < NumofVillages; ++i) { VillageManager newmanager = new VillageManager(); if(i == 0 && NewScenario.Created) newmanager.Initialise(StartingLocations[i], i, VillageManager.AI_Bias.Balanced,TreeMgr, ref AiMap,NewScenario); else newmanager.Initialise(StartingLocations[i], i, VillageManager.AI_Bias.Balanced, TreeMgr, ref AiMap); TaskExecutives.Add(newmanager); } }