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

Method getRangeInMetres

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

Source from the content-addressed store, hash-verified

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

Callers 1

setFormStatsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected