Esempio n. 1
0
        private Landmass FindLandmass(PopulationCenter p)
        {
            foreach (var landmass in Landmasses.Values)
            {
                if (landmass.MapCellIds.Contains(p.MapCellId))
                {
                    return(landmass);
                }
            }

            return(null);
        }
Esempio n. 2
0
 private Territory FindTerritory(PopulationCenter p)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
 private MapCell FindMapCell(PopulationCenter p)
 {
     return(this.Map.MapCells[p.MapCellId]);
 }