示例#1
0
文件: Map.cs 项目: spiffydudex/navbot
        public Map()
        {
            SolarSystemsReader systemsReader = new SolarSystemsReader();
            solarSystemsByName = systemsReader.SolarSystemsByName;
            solarSystemsById = systemsReader.SolarSystemsById;
            regionsById = systemsReader.RegionsById;

            SolarSystemJumpsReader jumpsReader = new SolarSystemJumpsReader(this);
            StationReader stationReader = new StationReader(this);
            stationsById = stationReader.StationsById;
        }
示例#2
0
文件: Map.cs 项目: Calthurian/navbot
        public Map()
        {
            SolarSystemsReader systemsReader = new SolarSystemsReader();

            solarSystemsByName = systemsReader.SolarSystemsByName;
            solarSystemsById   = systemsReader.SolarSystemsById;
            regionsById        = systemsReader.RegionsById;

            SolarSystemJumpsReader jumpsReader   = new SolarSystemJumpsReader(this);
            StationReader          stationReader = new StationReader(this);

            stationsById = stationReader.StationsById;
        }