private void CardDiscarded(object sender, DiscardedEventArgs e)
 {
     discardPile.Push(e.Card);
 }
Exemple #2
0
 private void cardDiscarded(object sender, DiscardedEventArgs e)
 {
     e.Card.Discarded -= cardDiscarded;
     cards.Remove(e.Card);
     if (HandChanged != null) HandChanged(this, EventArgs.Empty);
 }