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

Method getRange

src/Ruleset/RuleCraftWeapon.cpp:119–122  ·  view source on GitHub ↗

* Gets the maximum range of this craft weapon. * @return The range in km. */

Source from the content-addressed store, hash-verified

117 * @return The range in km.
118 */
119int RuleCraftWeapon::getRange() const
120{
121 return _range;
122}
123
124/**
125 * Gets the percentage chance of each shot of

Callers 5

DogfightStateMethod · 0.45
moveMethod · 0.45
minimumDistanceMethod · 0.45
maximumDistanceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected