package editor
Constants
WorkspaceStateNone
WorkspaceState(iota)
WorkspaceStateStage
WorkspaceStateContent
Types
Editor
struct
Editor is the entry point structure for the entire editor. It acts as the delegate to the various systems and holds the primary members that make up the bulk of the editor identity.
The design goal of the editor is different than that of the engine.Host, as it is not intended to be passed around for access to the system. Instead it will supply interface functions that are needed to the systems that it holds internally.
Editor.BlurInterface
FocusInterface is responsible for disabling the input on the various interfaces that are currently presented to the developer. This primarily includes the menu bar, status bar, and whichever workspace is active.
Editor.Build
Editor.BuildAndRun
Editor.BuildAndRunCurrentStage
Editor.Cache
Editor.ContentWorkspaceSelected
ContentWorkspaceSelected will inform the editor that the developer has changed to the content workspace. This is an exposed function to meet the interface needs of menu_bar.MenuBarHandler.
Editor.CreateNewCamera
Editor.CreateNewStage
Editor.Events
Editor.FocusInterface
FocusInterface is responsible for enabling the input on the various interfaces that are currently presented to the developer. This primarily includes the menu bar, status bar, and whichever workspace is active.
Editor.History
Editor.OpenVSCodeProject
OpenVSCodeProject will open Visual Studio Code directly to the project top- level folder. This is an exposed function to meet the interface needs of menu_bar.MenuBarHandler.
Editor.Project
Editor.ProjectFileSystem
Editor.SaveCurrentStage
SaveCurrentStage will save the currently open stage file. This is an exposed function to meet the interface needs of menu_bar.MenuBarHandler.
Editor.Settings
Editor.StageWorkspaceSelected
StageWorkspaceSelected will inform the editor that the developer has changed to the stage workspace. This is an exposed function to meet the interface needs of menu_bar.MenuBarHandler.
EditorGame
struct
EditorGame satisfies [bootstrap.GameInterface] and will allow the engine to bootstrap the editor (as it would a game).