AstronautControlPanel() { CommunicationSystem comms = new CommunicationSystem(); ExperimentSystem experiment = new ExperimentSystem(); FlightControlSystem flight = new FlightControlSystem(); LifeSupportSystem lifeSupport = new LifeSupportSystem(); PowerDistributionSystem power = new PowerDistributionSystem(); }
public void CreateShipSystems(Ship ship) { isDebug = GameController.Instance.isDebuging; debugger = Debugger.instance; var rooms = RoomController.Instance.Rooms; var amountOfSystems = SystemType.GetNames(typeof(SystemType)).Length; ShipSystems = new IShipSystem[amountOfSystems - 1]; ShipSystems[0] = new ReactorSystem(ship, rooms); ShipSystems[1] = new MainframeSystem(ship, rooms); ShipSystems[2] = new MainBatterySystem(rooms); ShipSystems[3] = new LifeSupportSystem(rooms); ShipSystems[4] = new BridgeSystem(ship, rooms, this); ShipSystems[5] = new MedbaySystem(rooms); ShipSystems[6] = new CargoHoldSystem(rooms); //ShipSystems[7] = new CorridorSystem(rooms); }
public CrewedVehicle(BaseGameSettings baseSettings, LifeSupportSettings supportSettings) : this() { LifeSupportSystem = new LifeSupportSystem(this, baseSettings, supportSettings); }