Skip to content

PlateauSpec beta ​

Interface of @v12-engine/engine

ts
export interface PlateauSpec

High ground: a roughly round area lifted by whole levels, with cliffs all around except where a ramp leads up

Members ​

levels ​

ts
levels?: number;

How many levels it rises above what is around it. One when left out

radius ​

ts
radius: number;

How far the plateau reaches from its centre, in world units

ramps ​

ts
ramps?: RampSpec[];

The ramps that lead up to it; cliffs everywhere else

x ​

ts
x: number;

East-west centre of the plateau, in world units

z ​

ts
z: number;

North-south centre of the plateau, in world units