public void Init(Account acc) { Troops = new VillTroops(); Troops.Init(); Res = new VillRes(); Res.Init(); Build = new VillBuilding(); Build.Init(acc); Settings = new VillSettings(); Settings.Init(); Market = new VillMarket(); Market.Init(); Deffing = new VillDeffing(); Expansion = new VillExpansion(); Timings = new VillTiming(); }
public void Init(Account acc) { //When creating new village, init objects: coordinates, production and building array //Coordinates = new Coordinates(); Troops = new VillTroops(); Troops.Init(acc); Res = new VillRes(); Res.Init(); Build = new VillBuilding(); Build.Init(acc); Settings = new VillSettings(); Settings.Init(); Market = new VillMarket(); Market.Init(); Deffing = new VillDeffing(); Expansion = new VillExpansion(); }