Skip to content

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

Interface: Gridlock ​

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

A junction the police turned red, and for whom.

Properties ​

client ​

client: number

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

The client id of the player it was turned against.


node ​

node: number

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

Its node in the road graph.


signal ​

signal: number

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

The junction's index in the level's signals.


until ​

until: number

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

The tick its lights go back to their plan.