MCPcopy 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
417sp<BattleUnit> TileObjectBattleUnit::getUnit() const { return this->unit.lock(); }
418
419Vec3<float> TileObjectBattleUnit::getPosition() const
420{

Callers 15

getVoxelMapMethod · 0.95
getUnitIfPresentMethod · 0.80
getUnitsMethod · 0.80
applyEffectMethod · 0.80
damageMethod · 0.80
updateProjectilesMethod · 0.80
updateFallingMethod · 0.80
hasLineToPositionMethod · 0.80
updateMovementFallingMethod · 0.80
useBrainsuckerMethod · 0.80
updateSelectionModeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected