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

Method getTurnsSinceSpotted

src/Savegame/BattleUnit.cpp:2458–2461  ·  view source on GitHub ↗

* Get how long since this unit was exposed. * @return number of turns */

Source from the content-addressed store, hash-verified

2456 * @return number of turns
2457 */
2458int BattleUnit::getTurnsSinceSpotted () const
2459{
2460 return _turnsSinceSpotted;
2461}
2462
2463/**
2464 * Get this unit's original Faction.

Callers 5

endTurnMethod · 0.80
thinkMethod · 0.80
explosiveEfficacyMethod · 0.80
validTargetMethod · 0.80
thinkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected