コード例 #1
0
        static void Initialize()
        {
            initialized = true;

            InitShape();
            DefaultMovementInfo = new ShipMovementInfo(
                new Bounded <float>(TimeWarp.AngularAcceleration),
                new Bounded <float>(TimeWarp.ScaleTurning(4)),
                new Bounded <float>(TimeWarp.ScaleAcceleration(6, 6)),
                new Bounded <float>(TimeWarp.ScaleVelocity(30)));
            DefaultState = new ShipState(new Bounded <float>(42),
                                         new Bounded <float>(42),
                                         new Bounded <float>(0),
                                         new Bounded <float>(TimeWarp.RechargeRateToPerSeconds(4, 1)));

            DefaultActions.Add(KohrAhMarauderPrimary.Create());
            DefaultActions.Add(KohrAhMarauderSecondary.Create());

            DefaultControlableSounds = new ControlableSounds(null, "ShipDies");
            DefaultShipSounds        = new ShipSounds("KohrAhMarauderDitty");
        }
コード例 #2
0
 public KohrAhMarauderSecondary(KohrAhMarauderSecondary copy) : base(copy)
 {
 }