示例#1
0
 public void Add(Player player, Card card)
 {
     _cards.Add(new Tuple<Player, Card>(player, card));
 }
示例#2
0
 /// <summary>
 /// Adds a card to a hand.
 /// </summary>
 /// <param name="card">The Card object to add to the hand.</param>
 public void AddCard(Card card)
 {
     _cards.Add(card);
     OnHandChanged(EventArgs.Empty);
 }