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

Method getDeck

forge-game/src/main/java/forge/game/GameView.java:255–262  ·  view source on GitHub ↗
(final PlayerView pv)

Source from the content-addressed store, hash-verified

253 }
254
255 public Deck getDeck(final PlayerView pv) {
256 for (final RegisteredPlayer rp : getMatch().getPlayers()) {
257 if (pv.isLobbyPlayer(rp.getPlayer())) {
258 return rp.getDeck();
259 }
260 }
261 return null;
262 }
263
264 public GameOutcome getOutcome() {
265 return getMatch().getOutcomeById(getId());

Callers

nothing calls this directly

Calls 5

getMatchMethod · 0.95
isLobbyPlayerMethod · 0.80
getPlayerMethod · 0.65
getDeckMethod · 0.65
getPlayersMethod · 0.45

Tested by

no test coverage detected