예제 #1
0
        public override void DoCommand(AdvEngine engine)
        {
            AdvCommandJumpSubroutineRandom randomJumpCommand = base.CurrentTread.JumpManager.GetRandomJumpCommand() as AdvCommandJumpSubroutineRandom;

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

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