// Navigation wicoNavigation; void ModuleProgramInit() { // wicoTravelMovement = new TravelMovement(this); //OurName = ""; //moduleName += "\nOrbital V4"; //sVersion = "4"; wicoThrusters = new WicoThrusters(this); wicoGyros = new WicoGyros(this, null); wicoGasTanks = new GasTanks(this); wicoGasGens = new GasGens(this); wicoConnectors = new Connectors(this); wicoLandingGears = new LandingGears(this); wicoCameras = new Cameras(this); wicoParachutes = new Parachutes(this); wicoNavRotors = new NavRotors(this); wicoAntennas = new Antennas(this); wicoSensors = new Sensors(this, wicoBlockMaster.GetMainController()); wicoWheels = new Wheels(this); wicoEngines = new HydrogenEngines(this); wicoPower = new PowerProduction(this); wicoOrbitalLaunch = new OrbitalModes(this); // wicoNavigation = new Navigation(this, wicoBlockMaster.GetMainController()); }
void ModuleProgramInit() { wicoTravelMovement = new TravelMovement(this, _wicoControl); wicoThrusters = new WicoThrusters(this); wicoGyros = new WicoGyros(this, wicoBlockMaster); wicoGasTanks = new GasTanks(this, wicoBlockMaster); wicoGasGens = new GasGens(this); wicoConnectors = new Connectors(this); wicoLandingGears = new LandingGears(this); wicoCameras = new Cameras(this); wicoParachutes = new Parachutes(this); wicoNavRotors = new NavRotors(this); wicoAntennas = new Antennas(this); wicoSensors = new Sensors(this, wicoBlockMaster); wicoWheels = new Wheels(this); wicoEngines = new HydrogenEngines(this); wicoPower = new PowerProduction(this, wicoBlockMaster); wicoTimers = new Timers(this, wicoBlockMaster); // navRemote = new NavRemote(this); // navCommon = new NavCommon(this); _wicoDisplays = new Displays(this, wicoBlockMaster, wicoElapsedTime); _cargoCheck = new CargoCheck(this, wicoBlockMaster, _wicoDisplays); wicoBases = new WicoBases(this, wicoIGC, _wicoDisplays); wicoNavigation = new Navigation(this, _wicoControl, wicoBlockMaster, wicoIGC, wicoTravelMovement, wicoElapsedTime, wicoGyros, wicoWheels, wicoNavRotors, wicoThrusters, _wicoDisplays); spaceDock = new SpaceDock(this, _wicoControl, wicoBlockMaster, wicoThrusters, wicoConnectors , wicoAntennas, wicoGasTanks, wicoGyros, wicoPower, wicoTimers , wicoIGC, wicoBases, wicoNavigation, _cargoCheck, _wicoDisplays); _wicoControl.WantSlow(); // get updates so we can check for things like navigation commands in oldschool format /// DEBUG // wicoIGC.SetDebug(true); // _wicoControl.SetDebug(true); // wicoElapsedTime.SetDebug(true); }
void ModuleProgramInit() { // wicoTravelMovement = new TravelMovement(this); //OurName = ""; //moduleName += "\nOrbital V4"; //sVersion = "4"; wicoThrusters = new WicoThrusters(this, wicoBlockMaster); wicoGyros = new WicoGyros(this, wicoBlockMaster); wicoGasTanks = new GasTanks(this, wicoBlockMaster); wicoGasGens = new GasGens(this); wicoConnectors = new Connectors(this); wicoLandingGears = new LandingGears(this); wicoCameras = new Cameras(this); wicoParachutes = new Parachutes(this); wicoNavRotors = new NavRotors(this); wicoAntennas = new Antennas(this); wicoSensors = new Sensors(this, wicoBlockMaster); wicoWheels = new Wheels(this); wicoEngines = new HydrogenEngines(this); wicoPower = new PowerProduction(this, wicoBlockMaster); wicoTimers = new Timers(this, wicoBlockMaster); _displays = new Displays(this, wicoBlockMaster, wicoElapsedTime); wicoBases = new WicoBases(this, wicoIGC, _displays); // navRemote = new NavRemote(this); navCommon = new NavCommon(this); _cargoCheck = new CargoCheck(this, wicoBlockMaster, _displays); spaceDock = new SpaceDock(this, _wicoControl, wicoBlockMaster, wicoThrusters, wicoConnectors, wicoAntennas, wicoGasTanks, wicoGyros, wicoPower, wicoTimers, wicoIGC, wicoBases, navCommon, _cargoCheck , _displays); //wicoOrbitalLaunch = new OrbitalModes(this); // wicoNavigation = new Navigation(this, wicoBlockMaster.GetMainController()); /// DEBUG // wicoIGC.SetDebug(true); // _wicoControl.SetDebug(true); // wicoElapsedTime.SetDebug(true); }