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;
 }
        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;
        }
Example #3
0
 public StaticRegion(StaticRegion region)
 {
     Name              = region.Name;
     DataType          = region.DataType;
     TagName           = region.TagName;
     Player            = region.Player;
     ProvinceTag       = region.ProvinceTag;
     CityTag           = region.CityTag;
     FarmTag           = region.FarmTag;
     PortTag           = region.PortTag;
     InfrastructureTag = region.InfrastructureTag;
     IndustryTag       = region.IndustryTag;
     CanBuildPort      = region.CanBuildPort;
     CountryTag        = region.CountryTag;
 }
 public StaticRegion(StaticRegion region)
 {
     Name = region.Name;
     DataType = region.DataType;
     TagName = region.TagName;
     Player = region.Player;
     ProvinceTag = region.ProvinceTag;
     CityTag = region.CityTag;
     FarmTag = region.FarmTag;
     PortTag = region.PortTag;
     InfrastructureTag = region.InfrastructureTag;
     IndustryTag = region.IndustryTag;
     CanBuildPort = region.CanBuildPort;
     CountryTag = region.CountryTag;
 }
Example #5
0
 public GameRegion(StaticRegion region) : base(region)
 {
 }
 public GameRegion(StaticRegion region)
     : base(region)
 {
 }