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

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