Esempio n. 1
0
 public AttilaRegionInfo(ImportantPaths importantPaths, string regionXML, RegionMapper map, FactionsInfo factions)
 {
     this.importantPaths = importantPaths;
     idNum             = 0; idStr = ""; burned = true;
     religionBreakdown = new List <Tuple <string, double> >();
     ck2Regions        = new List <String>();
     readRegionXML(regionXML, factions);
     readPopulation();
     strongestReligion = this.deriveMostPowerfulReligion();
     string[] foundCK2regions = map.getCK2Regions(idStr);
     if (foundCK2regions != null)
     {
         foreach (string region in foundCK2regions)
         {
             ck2Regions.Add(region);
         }
     }
 }