Skip to content

five-on-it / packages/sim/src/doors / GATE

Variable: GATE ​

const GATE: object

Defined in: packages/sim/src/doors.ts:39

The numbers of the gates and barriers.

Type Declaration ​

clearance ​

readonly clearance: 3 = 3

Something this near the doorway's line (m) keeps it from shutting.

clearTicks ​

readonly clearTicks: 90 = 90

The way must be clear this long before it shuts again (ticks).

lift ​

readonly lift: number

How far up a barrier's arm is lifted (rad).

reach ​

readonly reach: 6 = 6

A car this near the doorway's line (m), within its width, opens it.

slide ​

readonly slide: 0.95 = 0.95

How much of its width a gate slides aside.