five-on-it / packages/sim/src/weapons / spunUp
Function: spunUp()
spunUp(
sim,eid,held):boolean
Defined in: packages/sim/src/weapons.ts:520
The minigun's spin with the trigger held: its barrels spin up a tick at a time and the gun fires once they are up to speed (its weapon's spinUp); let go, they stop. Every other weapon is always ready. Returns whether the weapon may fire now.
Parameters
sim
eid
number
held
boolean
Returns
boolean