Skip to content

FoliageOverlayLayer beta ​

Interface of @v12-engine/editor

ts
export interface FoliageOverlayLayer

A layer of grass or bushes as an overlay reads it: its styles by cell, what happened to each cell (<layer>.state), and which styles hide (by value, 1 where it does)

Members ​

cells ​

ts
cells: Uint8Array | undefined;

Its cells, a style a cell (0 none): none where nothing is painted

conceals ​

ts
conceals: Uint8Array;

Which styles hide who stands in them, by value: 1 where one does

id ​

ts
id: string;

The layer's id

states ​

ts
states: Uint8Array | undefined;

What happened to each cell (FOLIAGE_STATE): none where nothing did