Ejemplo n.º 1
0
        private bool IsAffectedCardInPlay()
        {
            bool identiferInPlay = base.FindCardsWhere(c => c.IsInPlayAndHasGameText && AffectedIdentifiers.Contains(c.Identifier)).Any();

            return(FlipIdentiferInPlayCondition ? !identiferInPlay : identiferInPlay);
        }
Ejemplo n.º 2
0
        protected Card GetAffectedCardInPlay()
        {
            IEnumerable <Card> cardsInPlay = base.FindCardsWhere(c => (FlipIdentiferInPlayCondition ? !c.IsInPlayAndHasGameText : c.IsInPlayAndHasGameText) && AffectedIdentifiers.Contains(c.Identifier));

            return(cardsInPlay.FirstOrDefault());
        }