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

Method getLoftemps

src/Savegame/BattleUnit.cpp:2183–2186  ·  view source on GitHub ↗

* Get the unit's loft ID, one per unit tile. * Each tile only has one loft, as it is repeated over the entire height of the unit. * @param entry Unit tile * @return The unit's line of fire template ID. */

Source from the content-addressed store, hash-verified

2181 * @return The unit's line of fire template ID.
2182 */
2183int BattleUnit::getLoftemps(int entry) const
2184{
2185 return _loftempsSet.at(entry);
2186}
2187
2188/**
2189 * Get the unit's value. Used for score at debriefing.

Callers 3

checkVoxelExposureMethod · 0.80
canTargetUnitMethod · 0.80
voxelCheckMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected