Skip to content

five-on-it / packages/ai/src/police-signals / GREEN_WAVE

Variable: GREEN_WAVE ​

const GREEN_WAVE: object

Defined in: packages/ai/src/police-signals.ts:26

The numbers of the green wave.

Type Declaration ​

everyTicks ​

readonly everyTicks: 30 = 30

The road ahead is looked at this often (ticks).

holdTicks ​

readonly holdTicks: 900 = 900

For this long (ticks: fifteen seconds).

reach ​

readonly reach: 250 = 250

Signalled junctions this far ahead on the predicted route turn red (m).

restTicks ​

readonly restTicks: 600 = 600

A junction turned red is left be this long after (ticks: ten seconds).