RequestPlayerTopDeckCardFromDiscard() private method

private RequestPlayerTopDeckCardFromDiscard ( GameState gameState, bool isOptional ) : Dominion.Card
gameState GameState
isOptional bool
return Dominion.Card
Beispiel #1
0
 public override void OverpayOnPurchase(PlayerState currentPlayer, GameState gameState, int overpayAmount)
 {
     for (int i = 0; i < overpayAmount; ++i)
     {
         currentPlayer.RequestPlayerTopDeckCardFromDiscard(gameState, isOptional: false);
     }
 }
Beispiel #2
0
 public override void DoSpecializedAction(PlayerState currentPlayer, GameState gameState)
 {
     currentPlayer.actions.ShouldPutDeckInDiscard(gameState);
     currentPlayer.RequestPlayerTopDeckCardFromDiscard(gameState, isOptional: true);
 }