Skip to content

five-on-it / packages/ai/src/nail-strips / PoliceStrip

Interface: PoliceStrip ​

Defined in: packages/ai/src/nail-strips.ts:87

A strip the police laid: after whom, its entity, when, and its unit.

Properties ​

car ​

car: number

Defined in: packages/ai/src/nail-strips.ts:98


client ​

client: number

Defined in: packages/ai/src/nail-strips.ts:89

The client id of the player it was laid for.


eid ​

eid: number

Defined in: packages/ai/src/nail-strips.ts:91

Its entity in the simulation (−1 once reeled in and picked up).


near ​

near: boolean

Defined in: packages/ai/src/nail-strips.ts:95

Its player has come within STRIPS.near of it.


officer ​

officer: number

Defined in: packages/ai/src/nail-strips.ts:97

The officer who threw it, and the unit's car.


reeled ​

reeled: number

Defined in: packages/ai/src/nail-strips.ts:100

The tick the officer started reeling it in (−1 while it lies across the road).


tick ​

tick: number

Defined in: packages/ai/src/nail-strips.ts:93

The tick it was laid.