public Player(Hand hand) { if (hand == null) throw new ArgumentNullException("Player Instantiation Error", "Player hand was null"); _hand = hand; Name = "test"; HandType = HandEvaluator.GetHandType(_hand.Cards); }
public void DrawNewHand(Deck deck) { _hand = new Hand(deck.DrawCards(5)); HandType = HandEvaluator.GetHandType(_hand.Cards); }