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

Method is

forge-game/src/main/java/forge/game/zone/Zone.java:189–191  ·  view source on GitHub ↗
(final ZoneType zone)

Source from the content-addressed store, hash-verified

187 }
188
189 public final boolean is(final ZoneType zone) {
190 return zone == zoneType;
191 }
192
193 public final boolean is(final ZoneType zone, final Player player) {
194 return zoneType == zone && player == getPlayer();

Callers 15

moveToMethod · 0.95
ceaseToExistMethod · 0.95
getReplacementListMethod · 0.95
canPlayLandMethod · 0.95
checkZoneRestrictionsMethod · 0.95
isInZoneMethod · 0.95
inZoneMethod · 0.95
cardHasPropertyMethod · 0.95
resolveMethod · 0.95
resolveMethod · 0.95

Calls 1

getPlayerMethod · 0.95

Tested by

no test coverage detected