public ScaledBFS(string craftDirectory, DVector2 position, DVector2 velocity, double payloadMass = 0, double propellantMass = 1050000) : base(craftDirectory, position, velocity, payloadMass, propellantMass, null) { //StageOffset = new DVector2(0, 0); StageOffset = new DVector2(0, 24); Engines = new IEngine[6]; // Raptor Vac engines for (int i = 0; i < 3; i++) { double engineOffsetX = (i - 1.0) / 1.0; var offset = new DVector2(engineOffsetX * Width * 0.2, Height * 0.45); Engines[i] = new RaptorVac2016(i, this, offset); } // Raptor SL 40 engines //Engines[3] = new Raptor50(3, this, new DVector2(0, Height * 0.4)); //Engines = new IEngine[9]; //// Mini Raptor Vac engines //for (int i = 0; i < 6; i++) //{ // double engineOffsetX = (i - 3.0) / 3.0; // var offset = new DVector2(engineOffsetX * Width * 0.25, Height * 0.475); // Engines[i] = new MiniRaptorVac(i, this, offset); //} // Mini Raptor SL 50 engines for (int i = 3; i < 6; i++) { double engineOffsetX = (i - 4.0) / 2.0; var offset = new DVector2(engineOffsetX * Width * 0.1, Height * 0.475); Engines[i] = new MiniRaptor50(i, this, offset); } _spriteSheet = new SpriteSheet("Textures/Spacecrafts/Its/scaledShip.png", 12, 12); //string texturePath = "Its/scaledBFS.png"; //string fullPath = Path.Combine("Textures/Spacecrafts", texturePath); //this.Texture = new Bitmap(fullPath); this.payloadMass = payloadMass; }
public ITSShip(string craftDirectory, DVector2 position, DVector2 velocity, double payloadMass, double propellantMass = 1769010) : base(craftDirectory, position, velocity, payloadMass, propellantMass, null) { Engines = new IEngine[9]; // Raptor Vac engines for (int i = 0; i < 6; i++) { double engineOffsetX = (i - 2.5) / 2.5; var offset = new DVector2(engineOffsetX * Width * 0.25, Height * 0.48); Engines[i] = new RaptorVac2016(i, this, offset); } // Raptor SL 50 engines Engines[6] = new Raptor50(6, this, new DVector2(-2, Height * 0.48)); Engines[7] = new Raptor50(7, this, new DVector2(0, Height * 0.48)); Engines[8] = new Raptor50(8, this, new DVector2(2, Height * 0.48)); _spriteSheet = new SpriteSheet("Textures/Spacecrafts/Its/ship.png", 12, 12); this.payloadMass = payloadMass; }