public Orion(string craftDirectory, DVector2 position, DVector2 velocity, double payloadMass, double propellantMass = 175) : base(craftDirectory, position, velocity, payloadMass, propellantMass, "SLS/Orion.png") { _drogueChute = new DrogueChute(this, new DVector2(7.0, -8.5)); _parachute = new Parachute(this, new DVector2(-10.0, -36.0)); Engines = new IEngine[] {}; }
public DragonV2(string craftDirectory, DVector2 position, DVector2 velocity, double payloadMass, double propellantMass) : base(craftDirectory, position, velocity, payloadMass, propellantMass, "Dragon/V2/crewdragon.png") { _drogueChute = new DrogueChute(this, new DVector2(7.0, -8.5)); _parachute = new Parachute(this, new DVector2(-10.0, -36.0)); Engines = new IEngine[] { new SuperDraco(0, this, new DVector2(-1.35, 0.1), -0.15), new SuperDraco(1, this, new DVector2(-1.35, 0.1), -0.15), new SuperDraco(2, this, new DVector2(-1.4, 0.1), -0.25), new SuperDraco(3, this, new DVector2(-1.4, 0.1), -0.25), new SuperDraco(4, this, new DVector2(1.35, 0.1), 0.15), new SuperDraco(5, this, new DVector2(1.35, 0.1), 0.15), new SuperDraco(6, this, new DVector2(1.4, 0.1), 0.25), new SuperDraco(7, this, new DVector2(1.4, 0.1), 0.25), }; }
public ElectronS1(string craftDirectory, DVector2 position, DVector2 velocity, double propellantMass = 9250) : base(craftDirectory, position, velocity, 0, propellantMass, "Electron/ElectronS1.png") { StageOffset = new DVector2(0, 8.0); _drogueChute = new DrogueChute(this, new DVector2(0, 5)); _parafoil = new Parafoil(this, new DVector2(-1.5, 0.0), true); Engines = new IEngine[9]; for (int i = 0; i < 9; i++) { double engineOffsetX = (i - 4.0) / 4.5; var offset = new DVector2(engineOffsetX * Width * 0.3, Height * 0.45); Engines[i] = new Rutherford(i, this, offset); } }
public F9S2B(string craftDirectory, DVector2 position, DVector2 velocity, double stageOffset, double propellantMass = 103500) : base(craftDirectory, position, velocity, 0, propellantMass, "Falcon/9/S2B.png") { StageOffset = new DVector2(0, stageOffset); _drogueChute = new DrogueChute(this, new DVector2(-2.5, 5)); _parachute = new Parachute(this, new DVector2(-1.5, 0.0), true); Engines = new IEngine[] { new Merlin1DVac(this, new DVector2(0, Height * 0.38)) }; _skids = new[] { new Skid(this, new DVector2(1.1, -5), true), new Skid(this, new DVector2(1.1, 0.5), true) }; _spriteSheet = new SpriteSheet("Textures/Spacecrafts/Falcon/9/scaledShip.png", 12, 12); }