Dominion.PlayerState.DiscardHandDownToCount C# (CSharp) Method

DiscardHandDownToCount() private method

private DiscardHandDownToCount ( GameState gameState, int count ) : void
gameState GameState
count int
return void
        internal void DiscardHandDownToCount(GameState gameState, int count)
        {
            while (this.hand.Count > count)
            {
                this.RequestPlayerDiscardCardFromHand(gameState, acceptableCard => true, isOptional: false);
            }
        }
PlayerState