Dominion.PlayerState.DrawAdditionalCardsIntoHand C# (CSharp) Method

DrawAdditionalCardsIntoHand() private method

private DrawAdditionalCardsIntoHand ( int count, GameState gameState ) : void
count int
gameState GameState
return void
        internal void DrawAdditionalCardsIntoHand(int count, GameState gameState)
        {
            for (int i = 0; i < count; ++i)
            {
                if (!DrawOneCardIntoHand(gameState))
                {
                    return;
                }
            }
        }

Usage Example

Ejemplo n.º 1
0
        public override bool DoSpecializedTrash(PlayerState selfPlayer, GameState gameState)
        {
            selfPlayer.DrawAdditionalCardsIntoHand(3, gameState);

            return true;
        }
All Usage Examples Of Dominion.PlayerState::DrawAdditionalCardsIntoHand
PlayerState