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 Parafoil(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); }