five-on-it / packages/ai/src/nail-strips / PoliceStrip
Interface: PoliceStrip
Defined in: packages/ai/src/nail-strips.ts:84
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:95
client
client:
number
Defined in: packages/ai/src/nail-strips.ts:86
The client id of the player it was laid for.
eid
eid:
number
Defined in: packages/ai/src/nail-strips.ts:88
Its entity in the simulation (−1 once reeled in and picked up).
near
near:
boolean
Defined in: packages/ai/src/nail-strips.ts:92
Its player has come within STRIPS.near of it.
officer
officer:
number
Defined in: packages/ai/src/nail-strips.ts:94
The officer who threw it, and the unit's car.
reeled
reeled:
number
Defined in: packages/ai/src/nail-strips.ts:97
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:90
The tick it was laid.