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

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

            return(cardsInPlay.FirstOrDefault());
        }