Пример #1
0
 public Hand()
 {
     Cards = new List<Card>();
     Straight = false;
     Flush = false;
     Groupings = new Card[][] {null};
 }
Пример #2
0
        public void AddCard(string cardVal)
        {
            var card = new Card();

            card.Read(cardVal);

            if (card.IsValid())
            {
                Cards.Add(card);
            }
        }
Пример #3
0
 public void SetUp()
 {
     _card = new Card();
 }