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

Method removeCloneState

forge-game/src/main/java/forge/game/card/Card.java:4301–4308  ·  view source on GitHub ↗
(final long timestamp)

Source from the content-addressed store, hash-verified

4299 }
4300
4301 public final boolean removeCloneState(final long timestamp) {
4302 if (clonedStates.remove(timestamp) != null) {
4303 updateCloneState(true);
4304 updateWorldTimestamp(timestamp);
4305 return true;
4306 }
4307 return false;
4308 }
4309
4310 public final boolean removeCloneState(final CardTraitBase ctb) {
4311 boolean changed = false;

Callers 3

removeMutatedStatesMethod · 0.95
rollbackAbilityMethod · 0.80
runMethod · 0.80

Calls 8

updateCloneStateMethod · 0.95
updateWorldTimestampMethod · 0.95
addMethod · 0.65
removeMethod · 0.45
equalsMethod · 0.45
getSourceMethod · 0.45
getValueMethod · 0.45
getKeyMethod · 0.45

Tested by

no test coverage detected