DataCellLayer beta ā
Interface of @v12-engine/engine
ts
export interface DataCellLayerWhat a data.json (GameData.cellLayers, every map) or a map's definitions (GameMap.definitions, that map alone) says of one of the game's layers of cells: its values, by their number, each over the code's (DataCellLayerValue), or false to take one of the game's out. What the editor writes of a style made or changed there: { "grass": { "values": { "3": { "name": "Dry field", "foliage": { "flammable": 1 } } } } }
Members ā
values ā
ts
values?: Record<number, DataCellLayerValue | false>;The layer's values, by number (1 to 255): each over the game's of that number, a new one, or false for none