MCPcopy Create free account
hub / github.com/Card-Forge/forge / isCardExiled

Method isCardExiled

forge-game/src/main/java/forge/game/Game.java:635–637  ·  view source on GitHub ↗
(final Card c)

Source from the content-addressed store, hash-verified

633 }
634
635 public boolean isCardExiled(final Card c) {
636 return getCardsIn(ZoneType.Exile).contains(c);
637 }
638
639 public boolean isCardInPlay(final String cardName) {
640 return getCardsIn(ZoneType.Battlefield).anyMatch(CardPredicates.nameEquals(cardName));

Callers

nothing calls this directly

Calls 2

getCardsInMethod · 0.95
containsMethod · 0.65

Tested by

no test coverage detected