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

Method getCurrentAIState

src/Savegame/BattleUnit.cpp:1597–1600  ·  view source on GitHub ↗

* Returns the current AI state. * @return Pointer to AI state. */

Source from the content-addressed store, hash-verified

1595 * @return Pointer to AI state.
1596 */
1597BattleAIState *BattleUnit::getCurrentAIState() const
1598{
1599 return _currentAIState;
1600}
1601
1602/**
1603 * Set whether this unit is visible.

Callers 4

thinkMethod · 0.80
handleAIMethod · 0.80
getSpottingUnitsMethod · 0.80
tryReactionSnapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected