public RegionMin(int regionId, SuperRegionMin superRegion, int army, bool isFogOfWarGame = true, bool isWasteland = false) { Static = new RegionMinStatic(regionId, superRegion, isWasteland); Army = army; IsVisible = !isFogOfWarGame; }
internal MapMin ShallowCopy() { RegionMin[] regionsMin = new RegionMin[RegionsMin.Length]; Array.Copy(RegionsMin, regionsMin, RegionsMin.Length); SuperRegionMin[] superRegionsMin = new SuperRegionMin[SuperRegionsMin.Length]; Array.Copy(SuperRegionsMin, superRegionsMin, SuperRegionsMin.Length); return(new MapMin(regionsMin, superRegionsMin)); }
public RegionMinStatic(int regionId, SuperRegionMin superRegion, bool isWasteland = false) { Id = regionId; SuperRegion = superRegion; IsWasteland = isWasteland; }
public RegionMinStatic(Region region, Player ownerEncoded) { Id = region.Id; SuperRegion = new SuperRegionMin(region.SuperRegion, ownerEncoded); }