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

Method getFaceDownState

forge-game/src/main/java/forge/game/card/Card.java:540–545  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

538 }
539
540 public CardState getFaceDownState() {
541 if (!states.containsKey(CardStateName.FaceDown)) {
542 states.put(CardStateName.FaceDown, CardUtil.getFaceDownCharacteristic(this));
543 }
544 return states.get(CardStateName.FaceDown);
545 }
546
547 public void setOriginalStateAsFaceDown() {
548 // For Ertai's Meddling a morph spell

Callers 6

getStateMethod · 0.95
getOriginalStateMethod · 0.95
cloakMethod · 0.95
getLKICopyMethod · 0.80
setFaceDownStateMethod · 0.80
getCloneStatesMethod · 0.80

Calls 4

containsKeyMethod · 0.80
getMethod · 0.65
putMethod · 0.45

Tested by

no test coverage detected