Пример #1
0
 public override void DoCommand(AdvEngine engine)
 {
     if (IsEnable(engine.Param))
     {
         engine.ScenarioPlayer.JumpReady(engine);
         engine.JumpScenario(jumpLabel);
     }
 }
Пример #2
0
 //コマンド終了待ち
 public override bool Wait(AdvEngine engine)
 {
     if (!engine.SelectionManager.IsWaitSelect)
     {
         AdvSelection selected = engine.SelectionManager.Selected;
         string       label    = selected.JumpLabel;
         if (selected.Exp != null)
         {
             engine.Param.CalcExpression(selected.Exp);
         }
         engine.SelectionManager.Clear();
         engine.JumpScenario(label);
     }
     //JumpScenarioした場合でも常にtrueを返すのが必須
     return(true);
 }