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

Method getRoundsPerSecond

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

Source from the content-addressed store, hash-verified

128}
129
130float AEquipmentType::getRoundsPerSecond() const
131{
132 return (float)TICKS_PER_SECOND / (float)fire_delay;
133}
134
135int AEquipmentType::getRangeInTiles() const { return range / (int)VELOCITY_SCALE_BATTLE.x; }
136

Callers 3

displayAmmoMethod · 0.80
displayWeaponMethod · 0.80
setFormStatsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected