Dominion.PlayerState.MoveDeckToDiscard C# (CSharp) Method

MoveDeckToDiscard() private method

private MoveDeckToDiscard ( GameState gameState ) : void
gameState GameState
return void
        internal void MoveDeckToDiscard(GameState gameState)
        {
            MoveAllCardsToDiscard(this.deck, gameState, DeckPlacement.Deck);
        }

Usage Example

Example #1
0
 public override void DoSpecializedAction(PlayerState currentPlayer, GameState gameState)
 {
     if (currentPlayer.actions.ShouldPutDeckInDiscard(gameState))
     {
         currentPlayer.MoveDeckToDiscard(gameState);
     }
 }
PlayerState