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

Method setZone

forge-game/src/main/java/forge/game/card/Card.java:6837–6841  ·  view source on GitHub ↗
(Zone zone)

Source from the content-addressed store, hash-verified

6835 return currentZone;
6836 }
6837 public void setZone(Zone zone) {
6838 if (currentZone == zone) { return; }
6839 currentZone = zone;
6840 view.updateZone(this);
6841 }
6842
6843 public boolean isInZone(final ZoneType zone) {
6844 Zone z = this.getLastKnownZone();

Callers 15

revealFaceDownCardsMethod · 0.95
copyCardMethod · 0.95
moveMergedToSubgameMethod · 0.95
resolveMethod · 0.95
voteMethod · 0.95
willPayUnlessCostMethod · 0.95
shouldPutCountersMethod · 0.95
getAlternativeCostsMethod · 0.45
addOptionalCostsMethod · 0.45
setCardInCopiedGameMethod · 0.45

Calls 1

updateZoneMethod · 0.45

Tested by

no test coverage detected