Skip to content

CliffRocks beta ​

Interface of @v12-engine/client

ts
export interface CliffRocks

Rocks laid along the walls of cliffs (CliffShape.rocks): lumps of rock of a few shapes (variants), each drawn as copies, set into the wall at its foot, up its face, or both

Members ​

density ​

ts
density?: number;

How many to a cell of a wall, on average: 0.6 when left out

lumpiness ​

ts
lumpiness?: number;

How lumpy, 0..1: 0.35 when left out

size ​

ts
size?: [number, number];

How big, the least and the most, in cells: 0.25 to 0.7 when left out

variants ​

ts
variants?: number;

How many shapes of rock there are, 1 to 8: 4 when left out

where ​

ts
where?: 'foot' | 'wall' | 'both';

Where on the wall: at its foot, up its face, or both (both when left out)