Ejemplo n.º 1
0
        public void RemoveFromDeck(Entity entity, int turn)
        {
            var revealed = RevealedCards.FirstOrDefault(r => r.Entity == entity);

            if (revealed != null)
            {
                RevealedCards.Remove(revealed);
            }
            var ce = MoveCardEntity(entity, Deck, Removed, turn);

            Log("RemoveFromDeck", ce);
        }
Ejemplo n.º 2
0
        public void RemoveFromDeck(Entity entity, int turn)
        {
            var revealed = RevealedCards.FirstOrDefault(r => r.Entity == entity);

            if (revealed != null)
            {
                RevealedCards.Remove(revealed);
            }
            var ce = MoveCardEntity(entity, Deck, Removed, turn);

            UpdateRevealedEntity(ce, turn, true);
            VerifyCardMatchesDeck(ce);
            Log(ce);
        }