示例#1
0
文件: Computer.cs 项目: sopindm/bjeb
        public Computer()
        {
            modules = new List<Module>();

            attitude = new AttitudeController(this);

            modules.Add(new ASASModule(this));
            modules.Add(new InfoModule(this));
            modules.Add(attitude);

            _switches = new Dictionary<Module, ModuleSwitch>();

            settings = new DebugSettings() { guiUpdateRate = 30f, stateUpdateRate = 30f };

            universe = new Universe();
            vessel = new Vessel(universe);
        }
示例#2
0
文件: Computer.cs 项目: sopindm/bjeb
        public Computer()
        {
            modules = new List <Module>();

            attitude = new AttitudeController(this);

            modules.Add(new ASASModule(this));
            modules.Add(new InfoModule(this));
            modules.Add(attitude);

            _switches = new Dictionary <Module, ModuleSwitch>();

            settings = new DebugSettings()
            {
                guiUpdateRate = 30f, stateUpdateRate = 30f
            };

            universe = new Universe();
            vessel   = new Vessel(universe);
        }