Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Card-Forge/forge
/ conceded
Method
conceded
forge-game/src/main/java/forge/game/player/Player.java:2004–2006 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2002
}
2003
2004
public
final
boolean conceded() {
2005
return
getOutcome() != null && getOutcome().lossState == GameLossReason.Conceded;
2006
}
2007
2008
public
final
boolean cantLose() {
2009
if
(conceded()) {
Callers
2
cantLose
Method · 0.95
cantLoseForZeroOrLessLife
Method · 0.95
Calls
1
getOutcome
Method · 0.95
Tested by
no test coverage detected