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

Method clear

forge-game/src/main/java/forge/game/zone/MagicStack.java:991–996  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

989 }
990
991 public void clear() {
992 if (stack.isEmpty()) { return; }
993 stack.clear();
994 game.updateStackForView();
995 game.fireEvent(new GameEventSpellRemovedFromStack(null));
996 }
997
998 @Override
999 public String toString() {

Callers 15

resetMethod · 0.95
clearGamesPlayedMethod · 0.45
prepareAllZonesMethod · 0.45
initFromGameMethod · 0.45
parseMethod · 0.45
applyGameOnThreadMethod · 0.45
setupPlayerStateMethod · 0.45
clearStaticEffectsMethod · 0.45
copyLastStateMethod · 0.45

Calls 3

updateStackForViewMethod · 0.80
isEmptyMethod · 0.65
fireEventMethod · 0.45

Tested by

no test coverage detected