five-on-it / packages/sim/src/grappler / grappleSystem
Function: grappleSystem()
grappleSystem(
sim):void
Defined in: packages/sim/src/grappler.ts:153
One tick of the Grappler (see the module documentation), before the vehicles' step: each held car counts its driver's pull in reverse, and lets go when it has pulled long enough, or (on the server, which knows the cruiser) when the cruiser is gone, wrecked or too far, or its driver shot at the wheel; then each fitted cruiser, its net free, hooks the car at its nose if it may.
Parameters
sim
Returns
void