MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getVisibleUnits

Method getVisibleUnits

src/Savegame/BattleUnit.cpp:1234–1237  ·  view source on GitHub ↗

* Get the pointer to the vector of visible units. * @return pointer to vector. */

Source from the content-addressed store, hash-verified

1232 * @return pointer to vector.
1233 */
1234std::vector<BattleUnit*> *BattleUnit::getVisibleUnits()
1235{
1236 return &_visibleUnits;
1237}
1238
1239/**
1240 * Clear visible units.

Callers 9

eyesOnTargetMethod · 0.80
psiActionMethod · 0.80
handleAIMethod · 0.80
handlePanickingUnitMethod · 0.80
primaryActionMethod · 0.80
worthTakingMethod · 0.80
updateSoldierInfoMethod · 0.80
calculateFOVMethod · 0.80
unitOpensDoorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected