UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

18 lines (16 loc) 570 B
import { ObjectEditor } from "../../../../../editor/ecs/component/editors/primitive/ObjectEditor.js"; import List from "../../../../core/collection/list/List.js"; import { HighlightDefinition } from "./HighlightDefinition.js"; export class HighlightEditor extends ObjectEditor { get schema() { return { additionalProperties: false, properties: { elements: { type: List, type_parameters: [HighlightDefinition] } } }; } }