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

Method drawCards

forge-game/src/main/java/forge/game/player/Player.java:1131–1133  ·  view source on GitHub ↗
(final int n)

Source from the content-addressed store, hash-verified

1129 }
1130
1131 public final CardCollectionView drawCards(final int n) {
1132 return drawCards(n, null, AbilityKey.newMap(), this.getZone(ZoneType.Hand));
1133 }
1134
1135 public final CardCollectionView drawCards(final int n, PlayerZone zone) {
1136 return drawCards(n, null, AbilityKey.newMap(), zone);

Callers 13

drawCardMethod · 0.95
learnLessonMethod · 0.95
drawStartingHandMethod · 0.80
startGameMethod · 0.80
beforeFirstMulliganMethod · 0.80
mulliganDrawMethod · 0.80
mulliganDrawMethod · 0.80
mulliganDrawMethod · 0.80
payAsDecidedMethod · 0.80
resolveMethod · 0.80
resolveMethod · 0.80
initializeExtraHandsMethod · 0.80

Calls 15

newMapMethod · 0.95
getZoneMethod · 0.95
mapFromAffectedMethod · 0.95
canDrawMethod · 0.95
doDrawMethod · 0.95
getReplacementHandlerMethod · 0.80
revealToMethod · 0.80
runMethod · 0.65
sizeMethod · 0.65
getAgeMethod · 0.45
putMethod · 0.45
putAllMethod · 0.45

Tested by

no test coverage detected