예제 #1
0
 public static void AddAllCards(HashSet <Card> cardSet, ICardPicker matchingCards)
 {
     foreach (Card card in matchingCards.GetNeededCards())
     {
         cardSet.Add(card);
     }
 }
예제 #2
0
 private static void AddCards(List <Card> cardSet, ICardPicker matchingCards)
 {
     foreach (Card card in matchingCards.GetNeededCards())
     {
         cardSet.Add(card);
     }
 }
예제 #3
0
 public static void AddAllCards(HashSet<Card> cardSet, ICardPicker matchingCards)
 {
     foreach (Card card in matchingCards.GetNeededCards())
     {
         cardSet.Add(card);
     }
 }