Skip to content

five-on-it / packages/catalogue/src/city/plan / PlanTunnel

Interface: PlanTunnel ​

Defined in: packages/catalogue/src/city/plan.ts:63

A tunnel: under which road, between which metres along it, and its pieces (the game's frame, the town's streets at 0, lifted by the relief already).

Properties ​

from ​

from: number

Defined in: packages/catalogue/src/city/plan.ts:67


lights ​

lights: MeshDef

Defined in: packages/catalogue/src/city/plan.ts:74

The lamps inside, drawn only.


name ​

name: string

Defined in: packages/catalogue/src/city/plan.ts:65

Its name, its pieces' prefix: tunnel-<road>-<n> (-roof, -portals, -lights).


portals ​

portals: MeshDef

Defined in: packages/catalogue/src/city/plan.ts:72

The stone faces at both ends, their lamps.


road ​

road: string

Defined in: packages/catalogue/src/city/plan.ts:66


roof ​

roof: MeshDef

Defined in: packages/catalogue/src/city/plan.ts:70

The hill's surface rebuilt over the cutting: a structure that fades over a player under it.


to ​

to: number

Defined in: packages/catalogue/src/city/plan.ts:68