Skip to content

five-on-it / apps/client/src/renderer/scene / LevelView

Interface: LevelView ​

Defined in: apps/client/src/renderer/scene.ts:200

The level as drawn.

Properties ​

batches ​

batches: LevelBatches

Defined in: apps/client/src/renderer/scene.ts:208

The static pieces baked into batches (level-batches.ts).


pieces ​

pieces: Map<number, PieceView>

Defined in: apps/client/src/renderer/scene.ts:217

The light pieces (a placement with a breakable mass) by placement index: the node a snapshot moves while the piece lies loose, and how to plant it back where it stood.


roadPaint ​

roadPaint: RoadPaintView

Defined in: apps/client/src/renderer/scene.ts:210

What the roads' paint came to (roads.ts).


roads ​

roads: number

Defined in: apps/client/src/renderer/scene.ts:206

How many roads are drawn.


roofs ​

roofs: object[]

Defined in: apps/client/src/renderer/scene.ts:204

The roofs that fade over the player, each its own mesh with the box around it and its placement's index.

box ​

box: Footprint

mesh ​

mesh: Mesh

placement ​

placement: number


root ​

root: TransformNode

Defined in: apps/client/src/renderer/scene.ts:202

The node everything hangs under.


water ​

water: number

Defined in: apps/client/src/renderer/scene.ts:212

How many sheets of water and lava are drawn.