Exemplo n.º 1
0
 private StaticRegion AddRegionLocations(StaticRegion region, string cityTag, string farmTag, string portTag, string industryTag, string infrastructureTag, string provinceTag)
 {
     region.CityTag           = cityTag;
     region.FarmTag           = farmTag;
     region.PortTag           = portTag;
     region.IndustryTag       = industryTag;
     region.InfrastructureTag = infrastructureTag;
     region.ProvinceTag       = provinceTag;
     return(region);
 }
Exemplo n.º 2
0
        private StaticRegion AddRegion(string name, string tagName, bool canBuildPort, string countryTag)
        {
            StaticRegion region = new StaticRegion();

            region.Name         = name;
            region.TagName      = tagName;
            region.CanBuildPort = canBuildPort;
            region.DataType     = DataType.Region;
            region.CountryTag   = countryTag;
            return(region);
        }