Пример #1
0
 public Tile()
 {
     Profile = new TileProfile {WaterAvailabilityRatio = 1.1};
     Resources = new List<Resource>();
     ConnectedTiles = new List<Tile>();
     Populations = new List<Population>();
 }
Пример #2
0
 public int Happiness(TileProfile profile)
 {
     return profile.WaterAvailabilityRatio >= 1.1 ? 100 : 50;
 }