Пример #1
0
 protected void AddCard(CardObject newCard)
 {
     cards.Add(newCard);
     onCardAdd?.Invoke();
 }
Пример #2
0
 public void ProcessCardAction(CardAction cardAction, CardObject targetCard)
 {
     cardAction.targetCard = targetCard;
     cardAction.ProcessActionOnTargets();
 }