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

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