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

Method clearCaches

forge-game/src/main/java/forge/game/Game.java:1160–1164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1158 }
1159
1160 public void clearCaches() {
1161 lastStateBattlefield.clear();
1162 lastStateGraveyard.clear();
1163 //playerCache.clear();
1164 }
1165
1166 // Does the player control any cards that care about the order of cards in the graveyard?
1167 public boolean isGraveyardOrdered(final Player p) {

Callers 2

resolveMethod · 0.95
startGameMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected