TerrainSurface beta
Interface of @v12-engine/engine
ts
export interface TerrainSurfaceWater and paint of a terrain, next to its shape. Left out for plain ground
Members
blocked
ts
blocked?: Uint8Array;What scenery keeps off each cell (BLOCKS_BUILD, BLOCKS_WALK), row by row: see MapDoodad.blocks
cells
ts
cells?: Record<string, Uint8Array>;The game's own layers of cells (CellLayerDef), by id: a value per cell, row by row
tiles
ts
tiles?: Uint8Array;What the ground is painted with per cell, row by row. 0 is left to the slope, what the rest are is up to the client
water
ts
water?: Uint8Array;WATER_* per cell, row by row
waterHeights
ts
waterHeights?: Float32Array;Height of the surface of the water per vertex, for drawing it. Only means something around wet cells