예제 #1
0
        private IList <Card> GetValidCards()
        {
            IList <Card> validCards = new List <Card>();

            foreach (Card card in this.Cards)
            {
                if (_playingManager.IsValid(this, card))
                {
                    validCards.Add(card);
                }
            }

            return(validCards);
        }