public override void DoCommand(AdvEngine engine)
        {
            AdvCommandJumpRandom randomJumpCommand = base.CurrentTread.JumpManager.GetRandomJumpCommand() as AdvCommandJumpRandom;

            if (randomJumpCommand != null)
            {
                randomJumpCommand.DoRandomEnd(engine, base.CurrentTread);
            }
        }
Exemple #2
0
        public override void DoCommand(AdvEngine engine)
        {
            AdvCommandJumpRandom command = engine.ScenarioPlayer.JumpManager.GetRandomJumpCommand() as AdvCommandJumpRandom;

            if (command != null)
            {
                command.DoRandomEnd(engine);
            }
        }