示例#1
0
        static void Initialize()
        {
            initialized = true;

            InitShape();
            DefaultMovementInfo = new ShipMovementInfo(
                new Bounded <float>(TimeWarp.AngularAcceleration),
                new Bounded <float>(TimeWarp.ScaleTurning(1)),
                new Bounded <float>(TimeWarp.ScaleAcceleration(5, 0)),
                new Bounded <float>(TimeWarp.ScaleVelocity(35)));

            DefaultState = new ShipState(new Bounded <float>(16),
                                         new Bounded <float>(20),
                                         new Bounded <float>(0),
                                         new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(6, 1)));

            DefaultActions.Add(OrzNemesisPrimary.Create());
            DefaultActions.Add(OrzNemesisSecondary.Create());
            DefaultActions.Add(OrzNemesisTernary.Create());

            DefaultSubShips    = new IShip[1];
            DefaultSubShips[0] = OrzTurret.Create(new PhysicsState(), new FactionInfo(0));


            DefaultControlableSounds = new ControlableSounds(null, "ShipDies");
            DefaultShipSounds        = new ShipSounds("OrzNemesisDitty");
        }
示例#2
0
 OrzNemesisSecondary(OrzNemesisSecondary copy) : base(copy)
 {
 }