five-on-it / packages/ai/src/police-roadblocks / RollingBlock
Interface: RollingBlock
Defined in: packages/ai/src/police-roadblocks.ts:137
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:141
The client id of the player it was sent ahead of.
heading
heading:
number
Defined in: packages/ai/src/police-roadblocks.ts:146
The way the player comes (rad, 0 faces +z).
id
id:
number
Defined in: packages/ai/src/police-roadblocks.ts:139
Its number: its units carry it.
stillTicks
stillTicks:
number
Defined in: packages/ai/src/police-roadblocks.ts:150
Its player has stood still near the line this many ticks.
tick
tick:
number
Defined in: packages/ai/src/police-roadblocks.ts:148
The tick it was sent.
x
x:
number
Defined in: packages/ai/src/police-roadblocks.ts:143
The middle of the line its cars stop on (m).
z
z:
number
Defined in: packages/ai/src/police-roadblocks.ts:144