five-on-it / packages/ai/src/police-heavy / heavySystem
Function: heavySystem()
heavySystem(
ai,players,order,room,hooks):void
Defined in: packages/ai/src/police-heavy.ts:299
One tick of the heavy response (see the module documentation), after the drones: the helicopters, the snipers and the boats, then the APCs, the water cannons and the bikes each player's stars ask for, one sent when it is time and the room has the actors for it.
Parameters
ai
players
ReadonlyMap<number, number>
order
readonly Wanted[]
room
() => number
hooks
Returns
void