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 RegionMin(Region region, byte ownerEncoded, Player playerPerspective, bool isFogOfWarGame = true) { Army = region.Army; OwnerEncoded = region.Owner == null ? (byte)0 : ownerEncoded; if (!isFogOfWarGame || region.IsNeighbourOf(playerPerspective)) { IsVisible = true; } Static = new RegionMinStatic(region, playerPerspective); }