//public void RefillHand(CardList cards) //{ // for (int i = 0; i < cards.Count(); i++) // { // if (playerHand.Count() < 6) // { // playerHand.Add(cards[i]); // } // else // { // break; // } // } // } //removecardfromhand method, will remove a card from the players hand public void RemoveCardFromHand(Card card) { playerHand.Remove(card); numberOfCardsRemaning = playerHand.Count(); }
//removecardfromriver method, will remove a card from the river public void RemoveCardFromRiver(Card card) { gameRiver.Remove(card); riverCardsRemaning = gameRiver.Count(); }