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

Method hasLost

forge-game/src/main/java/forge/game/player/Player.java:2071–2073  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2069 }
2070
2071 public final boolean hasLost() {
2072 return getOutcome() != null && getOutcome().lossState != null;
2073 }
2074
2075 public final boolean hasWon() {
2076 if (cantWin()) {

Callers 9

canBeTargetedByMethod · 0.95
checkLoseConditionMethod · 0.95
learnLessonMethod · 0.95
takeInitiativeMethod · 0.80
mainLoopStepMethod · 0.80
onPlayerSelectedMethod · 0.80

Calls 1

getOutcomeMethod · 0.95

Tested by

no test coverage detected