Skip to content

MapSection beta ​

TypeAlias of @v12-engine/editor

ts
export type MapSection = 'layers' | PatchKind | 'environment' | 'fields' | 'meta';

A part of the map that an operation changed (MapChange.parts): the ground and the game's layers of cells (layers); each list of things the history keeps by id (PatchKind: every kind of thing on the map by its collection, a kind of the game's own as kind:spawner, the players, the cameras, the instances of prefabs); the look of the map (environment: the rest of MapEnvironment), the fields of the game's own (fields: GameMap.data) and what the map says about itself besides (meta: its name, its day, its bounds, its players' forces…). Which values of the last three changed is MapChange.values