Beispiel #1
0
 public bool HasSpellWithSource(Card card)
 {
     return(_effects.Any(x => x.Source.OwningCard == card));
 }
Beispiel #2
0
 public bool AnyCreaturesWithFirstStrike()
 {
     return(_attackers.Any(x => x.Card.HasFirstStrike) ||
            _blockers.Any(x => x.Card.HasFirstStrike));
 }
Beispiel #3
0
 public bool HasBeenDamaged(object receiver)
 {
     return(_damaged.Any(x => x.Receiver == receiver));
 }
Beispiel #4
0
 public bool HasChangedZone(Card card, Zone from, Zone to)
 {
     return(_changedZone.Any(x => x.Card == card && x.From == from && x.To == to));
 }
Beispiel #5
0
 public bool HasLostLife(Player player)
 {
     return(_lifeChanged.Any(x => x.Player == player && x.IsLifeLoss));
 }