Skip to content

GroundColors beta ​

Interface of @v12-engine/client

ts
export interface GroundColors

The colours of the ground where nothing is painted, by height and slope (GameView.ground.colors): lush low down, dry up high, dirt on slopes, rock on the steepest, a bed under water. The client's grass and rock where it says none

Members ​

bed ​

ts
bed?: Rgb;

Under water: a river's bed

dirt ​

ts
dirt?: Rgb;

The colour of slopes; the client's when left out

dry ​

ts
dry?: Rgb;

The colour of dry ground up high; the client's when left out

dryHeight ​

ts
dryHeight?: number;

How high the ground goes from lush to dry, in world units: 12 when left out

lush ​

ts
lush?: Rgb;

The colour of the grass low down; the client's when left out

rock ​

ts
rock?: Rgb;

The colour of the steepest ground; the client's when left out