UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

15 lines (12 loc) 343 B
class EditorEntity { /** * Marker component to distinguish editor-owned entities * @constructor */ constructor({ referenceEntity = -1 } = {}) { this.referenceEntity = referenceEntity; } } EditorEntity.typeName = "EditorEntity"; EditorEntity.serializable = false; export default EditorEntity;