public void LoadCards(IEnumerable <CommonCardData> cards) { foreach (var cardData in cards) { var card = CardCreator.Create(cardData); _cards.Add(card); } }
public void LoadWonderCards(IEnumerable <WonderCardData> cards) { foreach (var cardData in cards) { var card = CardCreator.Create(cardData); _wonderCards.Add(card); } }