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

Method getAimRange

src/Ruleset/RuleItem.cpp:717–720  ·  view source on GitHub ↗

* Gets the maximum effective range of this weapon when using Aimed Shot. * @return The maximum range. */

Source from the content-addressed store, hash-verified

715 * @return The maximum range.
716 */
717int RuleItem::getAimRange() const
718{
719 return _aimRange;
720}
721
722/**
723 * Gets the maximim effective range of this weapon for Snap Shot.

Callers 2

drawTerrainMethod · 0.80
applyAccuracyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected