MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / getRangeInTiles

Method getRangeInTiles

game/state/rules/aequipmenttype.cpp:135–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135int AEquipmentType::getRangeInTiles() const { return range / (int)VELOCITY_SCALE_BATTLE.x; }
136
137int AEquipmentType::getRangeInMetres() const { return range / 16; }
138} // namespace OpenApoc

Callers 3

displayAmmoMethod · 0.45
displayWeaponMethod · 0.45
displayWeaponMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected