示例#1
0
 /// <summary>
 /// Called when a combatant has selected an action to run.
 /// For now, we assume we only allow one action at a time to run.
 /// </summary>
 /// <param name="ndx"></param>
 public void StartAction(BS_Action action, MT_Combatant comb)
 {
     if (IsRunningAction)
     {
         return;
     }
     _currentAction   = action;
     _currentActionIt = action.Execute(comb);
 }