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

Method getCardsIn

forge-game/src/main/java/forge/game/player/Player.java:1323–1325  ·  view source on GitHub ↗
(final ZoneType zoneType)

Source from the content-addressed store, hash-verified

1321 }
1322
1323 public final CardCollectionView getCardsIn(final ZoneType zoneType) {
1324 return getCardsIn(zoneType, true);
1325 }
1326
1327 /**
1328 * gets a list of all cards in the requested zone. This function makes a CardCollectionView from Card[].

Callers 15

prepareAllZonesMethod · 0.95
runOpeningHandActionsMethod · 0.95
scryMethod · 0.95
checkConditionsMethod · 0.95
adjustMethod · 0.95
adjustCostByEmergeMethod · 0.95
playerHasPropertyMethod · 0.95
getAllCardsMethod · 0.95

Calls 12

getZoneMethod · 0.95
filterMethod · 0.95
nameEqualsMethod · 0.95
getStackZoneMethod · 0.80
limitMethod · 0.80
getOwnerMethod · 0.65
addMethod · 0.65
streamMethod · 0.65
getCardsMethod · 0.45
equalsMethod · 0.45
addAllMethod · 0.45

Tested by 3

testFindingOwnCardMethod · 0.76
broken_testCloneDimirMethod · 0.76
testVoloJournalMethod · 0.76