private RequestPlayerInspectTopOfDeckForDiscard ( |
||
decidingPlayer | ||
gameState | ||
shouldReveal | bool | |
return | void |
public override void DoSpecializedAttack(PlayerState currentPlayer, PlayerState otherPlayer, GameState gameState) { otherPlayer.RequestPlayerInspectTopOfDeckForDiscard(currentPlayer, gameState); }
public override void DoSpecializedAction(PlayerState currentPlayer, GameState gameState) { currentPlayer.RequestPlayerInspectTopOfDeckForDiscard(currentPlayer, gameState); while (true) { Card card = currentPlayer.DrawAndRevealOneCardFromDeck(gameState); if (card == null || !card.isAction) break; } currentPlayer.MoveAllRevealedCardsToHand(); }
public override void DoSpecializedAction(PlayerState currentPlayer, GameState gameState) { currentPlayer.RequestPlayerInspectTopOfDeckForDiscard(currentPlayer, gameState); }
public override void DoSpecializedAction(PlayerState currentPlayer, GameState gameState) { currentPlayer.GainCardFromSupply(Silver.card, gameState); // look at the top card of the deck and discard or put it back currentPlayer.RequestPlayerInspectTopOfDeckForDiscard(currentPlayer, gameState, shouldReveal: false); currentPlayer.DrawUntilCountInHand(5, gameState); currentPlayer.RequestPlayerTrashCardFromHand(gameState, acceptableCard => !acceptableCard.isTreasure, isOptional: true); }