Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenApoc/OpenApoc
/ canFly
Method
canFly
game/state/battle/battleunit.cpp:1498–1501 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1496
}
1497
1498
bool BattleUnit::canFly() const
1499
{
1500
return isConscious() && agent->isBodyStateAllowed(BodyState::Flying);
1501
}
1502
1503
bool BattleUnit::canMove() const
1504
{
Callers
6
initialUnitSpawn
Method · 0.80
BattleUnitTileHelper
Method · 0.80
start
Method · 0.80
setPathTo
Method · 0.80
advanceAlongPath
Method · 0.80
updatePathPreview
Method · 0.80
Calls
1
isBodyStateAllowed
Method · 0.80
Tested by
no test coverage detected