Skip to content

AppEditorScene ​

Interface of @v12-engine/client/app

ts
export interface AppEditorScene

The map editor's scene as the app's scenes make it (appScenes): its id and name, the game, the map it starts on, the scene that plays its maps and where its way out goes. What the editor's editorScene takes, and more

Members ​

exit ​

ts
exit: SceneExit;

Where the editor's way out goes

game ​

ts
game: LoadedGame;

The game whose maps, rules and view the editor edits with

id ​

ts
id: string;

The editor scene's id, by which goTo opens it

name ​

ts
name: string;

What the editor scene is called in the list of scenes

play ​

ts
play: SceneRef;

The scene its Play and Play here open the map in

startFile ​

ts
startFile: string;

The project file of that first map, which the editor saves to

startMap ​

ts
startMap: () => GameMap;

The map it starts on where nothing was kept: the game's first, as a file of the project (startFile)