Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
executeOwnershipChanges
Method · 0.95
addDamageAfterPrevention
Method · 0.95
canBeTargetedBy
Method · 0.95
checkLoseCondition
Method · 0.95
learnLesson
Method · 0.95
handleMultiplayerEffects
Method · 0.95
takeInitiative
Method · 0.80
mainLoopStep
Method · 0.80
onPlayerSelected
Method · 0.80
Calls
1
getOutcome
Method · 0.95
Tested by
no test coverage detected