Skip to content

TerrainRules beta ​

Interface of @v12-engine/editor

ts
export interface TerrainRules

The terrain rule of a map (MF6): its bands, and whether it is kept live. Saved with the map in the editor's table (GameMap.editor), no step of the history

Members ​

bands ​

ts
bands: TerrainBand[];

The bands of the terrain rule, tried in order for each cell

live ​

ts
live?: boolean;

Repaints by the bands after every change to the ground, its levels or its ramps