Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenApoc/OpenApoc
/ getUnit
Method
getUnit
game/state/tilemap/tileobject_battleunit.cpp:417–417 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
415
}
416
417
sp<BattleUnit> TileObjectBattleUnit::getUnit() const { return this->unit.lock(); }
418
419
Vec3<float> TileObjectBattleUnit::getPosition() const
420
{
Callers
15
getVoxelMap
Method · 0.95
updateBattlescapeUnitPresent
Method · 0.80
getUnitIfPresent
Method · 0.80
getUnits
Method · 0.80
applyEffect
Method · 0.80
damage
Method · 0.80
updateProjectiles
Method · 0.80
updateFalling
Method · 0.80
hasLineToPosition
Method · 0.80
updateMovementFalling
Method · 0.80
useBrainsucker
Method · 0.80
updateSelectionMode
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected