private void OnSelectionEnded(Player caller, Player selected)
 {
     insideAction.Call(caller);
     if (selected != null)
     {
         insideAction.Call(selected, true);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Wywołuje wszystkie akcje przypisane do karty
 /// </summary>
 /// <param name="caller"></param>
 public void CallActions(Player caller)
 {
     foreach (ActionString actionString in actionStrings)
     {
         ActionCard action = ActionCard.Create(actionString);
         action.Call(caller);
     }
 }