private void AddCard(CardData card) { if (card.IsExtraCard()) { ExtraCards.Add(card); } else { Cards.Add(card); } }
private void AddCard(NamedCard card) { if (card.IsExtraCard()) { ExtraCards.Add(card); } else { Cards.Add(card); } }
private void AddNewCard(int cardId, bool mainDeck, bool sideDeck) { if (sideDeck) { SideCards.Add(cardId); } else if (mainDeck) { Cards.Add(cardId); } else { ExtraCards.Add(cardId); } }