Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenApoc/OpenApoc
/ isDead
Method
isDead
game/state/battle/battleunit.cpp:1401–1401 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1399
}
1400
1401
bool BattleUnit::isDead() const { return agent->isDead() || destroyed; }
1402
1403
bool BattleUnit::isUnconscious() const { return !isDead() && stunDamage >= agent->getHealth(); }
1404
Callers
8
killStrandedUnits
Method · 0.45
abortMission
Method · 0.45
tryDisableBuilding
Method · 0.45
refreshLeadershipBonus
Method · 0.45
spawnReinforcements
Method · 0.45
finishBattle
Method · 0.45
advanceAlongPath
Method · 0.45
getGrenadeDecision
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected