Add scene creation and active scene switching commands
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import type { EditorSelection } from "../core/selection";
|
||||
import type { ToolMode } from "../core/tool-mode";
|
||||
import type { SceneDocument } from "../document/scene-document";
|
||||
import type { ProjectDocument, SceneDocument } from "../document/scene-document";
|
||||
|
||||
export interface CommandContext {
|
||||
getDocument(): SceneDocument;
|
||||
setDocument(document: SceneDocument): void;
|
||||
getProjectDocument(): ProjectDocument;
|
||||
setProjectDocument(document: ProjectDocument): void;
|
||||
getSelection(): EditorSelection;
|
||||
setSelection(selection: EditorSelection): void;
|
||||
getToolMode(): ToolMode;
|
||||
|
||||
Reference in New Issue
Block a user