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

Method removeCloneStates

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

Source from the content-addressed store, hash-verified

4335 }
4336
4337 public final boolean removeCloneStates() {
4338 if (clonedStates.isEmpty()) {
4339 return false;
4340 }
4341 clonedStates.clear();
4342 updateCloneState(false);
4343 return true;
4344 }
4345
4346 public final Map<Long, CardCloneStates> getCloneStates() {
4347 return clonedStates;

Callers 1

removeChangedStateMethod · 0.95

Calls 3

updateCloneStateMethod · 0.95
isEmptyMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected