public virtual void RemoveCard(CardController card) { if (Cards.Remove(card)) { OnCardCountChanged?.Invoke(Cards.Count); } }
public virtual void AddCard(CardController card) { if (!Cards.Contains(card)) { Cards.Add(card); OnCardCountChanged?.Invoke(Cards.Count); } }