RequestPlayerPutRevealedCardsBackOnDeck() private method

private RequestPlayerPutRevealedCardsBackOnDeck ( GameState gameState ) : void
gameState GameState
return void
Beispiel #1
0
        public override void DoSpecializedAction(PlayerState currentPlayer, GameState gameState)
        {
            Card cardType = currentPlayer.RequestPlayerNameACard(gameState);
            currentPlayer.RevealCardsFromDeck(3, gameState);

            while (currentPlayer.cardsBeingRevealed.HasCard(cardType))
            {
                currentPlayer.MoveRevealedCardToTrash(cardType, gameState);
            }

            currentPlayer.RequestPlayerPutRevealedCardsBackOnDeck(gameState);
        }
Beispiel #2
0
 public override void DoSpecializedAction(PlayerState currentPlayer, GameState gameState)
 {
     currentPlayer.RevealCardsFromDeck(3);
     currentPlayer.MoveRevealedCardsToDiscard(card => !card.isAction, gameState);
     currentPlayer.RequestPlayerPutRevealedCardsBackOnDeck(gameState);
 }
 public override void DoSpecializedAttack(PlayerState currentPlayer, PlayerState otherPlayer, GameState gameState)
 {
     otherPlayer.RevealCardsFromDeck(3, gameState);
     otherPlayer.MoveRevealedCardsToDiscard(card => card.isAction || card.isTreasure, gameState);
     otherPlayer.RequestPlayerPutRevealedCardsBackOnDeck(gameState);
 }
Beispiel #4
0
 public override void DoSpecializedAction(PlayerState currentPlayer, GameState gameState)
 {
     currentPlayer.RevealCardsFromDeck(2);
     // TODO: Require option to put ruins back.
     currentPlayer.RequestPlayerPutRevealedCardsBackOnDeck(gameState);
 }