/// <summary> /// Shows the hand. /// </summary> /// <returns>Cards in the players hand.</returns> public IEnumerable<Card> ShowHand() { Card[] cards = new Card[_hand.Count]; _hand.CopyTo(cards, 0); return cards; }
/// <summary> /// Adds the community card. /// </summary> /// <param name="card">The card.</param> public void AddCommunityCard(Card card) { _communityCards.Enqueue(card); }
/// <summary> /// Receives the card and places it in the hand. /// </summary> /// <param name="card">The card.</param> public void ReceiveCard(Card card) { _hand.Push(card); }