Exemplo n.º 1
0
        public void EndGameCleanup(Game game)
        {
            var scope = game.StartTurn(this);

            Hand.Discard(DiscardPile, scope);
            DiscardPile.Into(Deck, scope);
        }
Exemplo n.º 2
0
        public void ShuffleDiscardPileIntoDeck(IActionScope turnScope)
        {
            DiscardPile.Into(Deck, turnScope);
            Deck = Deck.Shuffle();

            turnScope.Publish(new DeckReplenishedEvent(turnScope));
        }