Example #1
0
        public CommonBoosterCore(string craftDirectory, DVector2 position, DVector2 velocity, double propellantMass = 199640, string texturePath = "DeltaIV/core.png")
            : base(craftDirectory, position, velocity, 0, propellantMass, texturePath)
        {
            StageOffset = new DVector2(0, 19.4);

            Engines = new IEngine[1];
            var offset = new DVector2(0, Height * 0.48);

            Engines[0] = new RS68A(0, this, offset);
        }
Example #2
0
        public SideBooster(string craftDirectory, int id, DVector2 position, DVector2 velocity, double propellantMass = 199640)
            : base(craftDirectory, position, velocity, propellantMass, "DeltaIV/booster" + id + ".png")
        {
            Id = id;

            StageOffset = Id == 1 ? new DVector2(-5.1, 0.5) : new DVector2(5.1, 0.5);

            Engines = new IEngine[1];
            var offset = new DVector2(0, Height * 0.48);

            Engines[0] = new RS68A(0, this, offset);
        }