Skip to content

EditorChangeKind beta ​

TypeAlias of @v12-engine/editor

ts
export type EditorChangeKind = 'map' | 'selection' | 'tool' | 'status' | 'prefs' | 'view' | 'dock' | 'registries' | 'data' | 'inspected' | 'assets' | 'dialog' | 'files' | 'play';

A part of the editor that changes, and that what reads the editor follows:

  • map: the map, and its history (a step made, undone, done again) - selection: what is selected, and what a tool picked among it - tool: the tool picked and its options (the brush, what is put down, the symmetry, the measure) - status: the status line, what the Console said that matters, and the problems found - prefs: the editor's settings and its themes - view: what the view shows (the overlays, full screen, the panels hidden) - dock: where the panels are - registries: what the editor has, by its registries: panels, menus, the search's sources, kinds, the Inspector's sections, icons, tools, layouts, keys, lanes - data: the game's definitions as the editor changed them (editor.data) - inspected: what the Inspector inspects that is not on the map (a part of a panel, a model) - assets: the models and pictures of the project and the map - dialog: the dialog open, and what it asks - files: the game's own files, as the editor reads and writes them - play: a game played from the editor