five-on-it / packages/ai/src/police-roadblocks / RollingBlock
Interface: RollingBlock
Defined in: packages/ai/src/police-roadblocks.ts:134
A rolling block (see the module documentation): its cars are the player's units of kind rolling.
Properties
client
client:
number
Defined in: packages/ai/src/police-roadblocks.ts:138
The client id of the player it was sent ahead of.
heading
heading:
number
Defined in: packages/ai/src/police-roadblocks.ts:143
The way the player comes (rad, 0 faces +z).
id
id:
number
Defined in: packages/ai/src/police-roadblocks.ts:136
Its number: its units carry it.
stillTicks
stillTicks:
number
Defined in: packages/ai/src/police-roadblocks.ts:147
Its player has stood still near the line this many ticks.
tick
tick:
number
Defined in: packages/ai/src/police-roadblocks.ts:145
The tick it was sent.
x
x:
number
Defined in: packages/ai/src/police-roadblocks.ts:140
The middle of the line its cars stop on (m).
z
z:
number
Defined in: packages/ai/src/police-roadblocks.ts:141