public bool CanDiscard(Card card) { return this.hand.Cards.Contains(card); }
public void Discard(Card card) { if (CanDiscard(card)) card.Discard(); }
public void Discard(Card card) { discardManager.Discard(card); NotifyPropertyChanged("Cards"); }
public bool CanDiscard(Card card) { return discardManager.CanDiscard(card); }
internal void RemoveFromHand(Card card) { card.Discarded -= cardDiscarded; cards.Remove(card); if (HandChanged != null) HandChanged(this, EventArgs.Empty); }
internal void AddToHand(Card card) { card.Discarded += cardDiscarded; cards.Add(card); if (HandChanged != null) HandChanged(this, EventArgs.Empty); }
public DiscardedEventArgs(Card card) { this.card = card; }