Skip to content

five-on-it / packages/ai/src/police-tells / PoliceTells

Interface: PoliceTells ​

Defined in: packages/ai/src/police-tells.ts:33

What a player is told of the police now.

Properties ​

camera ​

camera: boolean

Defined in: packages/ai/src/police-tells.ts:41

A camera sees them now.


drone ​

drone: boolean

Defined in: packages/ai/src/police-tells.ts:39

The drone sees them now.


marks ​

marks: object[]

Defined in: packages/ai/src/police-tells.ts:35

The minimap's marks.

kind ​

kind: PoliceMarkKind

x ​

x: number

z ​

z: number


radio ​

radio: object[]

Defined in: packages/ai/src/police-tells.ts:37

The radio's last lines they hear, oldest first.

kind ​

kind: "camera" | "roadblock" | "rolling" | "drone" | "dispatch" | "greenWave" | "droneDown" | "escalation" | "strip"

n ​

n: number

place? ​

optional place?: string

stars? ​

optional stars?: number