public void PlayCardFromHand(Card card) { if (Hand.Contains(card)) { InPlay.Add(card); Hand.Remove(card); } }
public void PutCardFromHandIntoPlay(Card card) { if (!Hand.Contains(card)) { throw new ArgumentOutOfRangeException("Hand does not contain the card " + card); } Hand.Remove(card); _cardsInPlay.Add(card, this); }
public void PutCardFromHandOnTopOfDeck(Card card) { Hand.Remove(card); Player.PlaceCardOnTopOfDeck(card); }
public void TrashCardFromHand(Card cardToTrash, IActionScope scope) { Hand.Remove(cardToTrash); scope.PutCardInTrash(cardToTrash); }
public void moveCard(Card c, Hand origin, List<Card> destination) { destination.Add(c); origin.Remove(c); }