Ejemplo n.º 1
0
        //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();
        }
Ejemplo n.º 2
0
 //removecardfromriver method, will remove a card from the river
 public void RemoveCardFromRiver(Card card)
 {
     gameRiver.Remove(card);
     riverCardsRemaning = gameRiver.Count();
 }