Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }