UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

32 lines (24 loc) 548 B
import { assert } from "../../src/core/assert.js"; import { BaseProcess } from "../../src/core/process/BaseProcess.js"; class EditorProcess extends BaseProcess { /** * * @type {string} */ name = "unnamed"; /** * * @type {Editor|null} */ editor = null; /** * * @param {Editor} editor */ initialize(editor) { assert.defined(editor, 'editor'); this.editor = editor; super.initialize(); } } export { EditorProcess };