예제 #1
0
            public static IShip Create(PhysicsState state, FactionInfo factionInfo)
            {
                if (!initialized)
                {
                    Initialize();
                }

                MmrnmhrmXFormMissile returnvalue = new MmrnmhrmXFormMissile(state, factionInfo);

                returnvalue.ControlHandler = new DefaultControlHandler();
                return(returnvalue);
            }
예제 #2
0
 MmrnmhrmXFormSecondary()
     : base(new Bounded <float>(DefaultDelay),
            DefaultTargetingTypes,
            new Costs(DefaultCost),
            DefaultActionSounds,
            DefaultActionSounds,
            new Costs(DefaultCost),
            MmrnmhrmXFormMissile.Create(new PhysicsState(), null),
            false)
 {
     this.aIInfo = new SpecificRangeActionAIInfo(
         DefaultCost.ActivationCost,
         1000,
         3000);
 }