示例#1
0
        public void ClearHands(Shoe shoe)
        {
            foreach (var hand in Hands)
            {
                shoe.DisposeHand(hand);
            }

            _hands.Clear();
        }
示例#2
0
        public void ClearHands(Shoe shoe, IReadOnlyCollection <Player> players)
        {
            shoe.DisposeHand(Hand);
            Hand = new Hand(0);

            foreach (var player in players)
            {
                player.ClearHands(shoe);
            }
        }