Skip to content

five-on-it / packages/ai/src/police-roadblocks / rollingSystem

Function: rollingSystem() ​

rollingSystem(ai, players): void

Defined in: packages/ai/src/police-roadblocks.ts:397

One tick of the rolling blocks: a block whose player is past its line, has stopped short of it, is gone or below the stars that send them, or whose time is up, is over, and its cars are cruisers again; so is one that has no car left.

Parameters ​

ai ​

AiWorld

players ​

ReadonlyMap<number, number>

Returns ​

void