public static void AddAllCards(HashSet <Card> cardSet, ICardPicker matchingCards) { foreach (Card card in matchingCards.GetNeededCards()) { cardSet.Add(card); } }
private static void AddCards(List <Card> cardSet, ICardPicker matchingCards) { foreach (Card card in matchingCards.GetNeededCards()) { cardSet.Add(card); } }
public static void AddAllCards(HashSet<Card> cardSet, ICardPicker matchingCards) { foreach (Card card in matchingCards.GetNeededCards()) { cardSet.Add(card); } }