Skip to content

mapFoliageSource beta ​

Function of @v12-engine/editor

ts
export declare function mapFoliageSource(doc: MapEditor, styles: EditorFoliageStyles): FoliageOverlaySource;

The map being edited as an overlay of grass reads it: its layers of grass and bushes (styles.isFoliage), their cells and what happened to them as the map has them (a map that starts with a field burnt), and which styles hide as they are on this map (styles.styleRules)