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

Method removeAllCards

forge-game/src/main/java/forge/game/zone/Zone.java:179–187  ·  view source on GitHub ↗
(boolean forcedWithoutEvents)

Source from the content-addressed store, hash-verified

177 }
178
179 public final void removeAllCards(boolean forcedWithoutEvents) {
180 if (forcedWithoutEvents) {
181 cardList.clear();
182 } else {
183 for (Card c : cardList) {
184 remove(c);
185 }
186 }
187 }
188
189 public final boolean is(final ZoneType zone) {
190 return zone == zoneType;

Callers 3

setupPlayerStateMethod · 0.80
resolveMethod · 0.80
resolveMethod · 0.80

Calls 2

removeMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected