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

Method forEachCardInGame

forge-game/src/main/java/forge/game/Game.java:739–741  ·  view source on GitHub ↗
(Visitor<Card> visitor)

Source from the content-addressed store, hash-verified

737 }
738
739 public void forEachCardInGame(Visitor<Card> visitor) {
740 forEachCardInGame(visitor, false);
741 }
742 // Allows visiting cards in game without allocating a temporary list.
743 public void forEachCardInGame(Visitor<Card> visitor, boolean withSideboard) {
744 for (final Player player : getPlayers()) {

Callers 9

getCardStateMethod · 0.95
findByViewMethod · 0.95
findByIdMethod · 0.95
getCardsInGameMethod · 0.95
checkStaticAbilitiesMethod · 0.80
getReplacementListMethod · 0.80
resetActiveTriggersMethod · 0.80

Calls 8

getPlayersMethod · 0.95
getStackZoneMethod · 0.95
visitAllMethod · 0.80
getMeldedCardsMethod · 0.80
getInboundTokensMethod · 0.80
getCardsMethod · 0.45
getZoneMethod · 0.45
getCardsInMethod · 0.45

Tested by

no test coverage detected