import{_ as e,c as t,o as a,a as r}from"./app.54d5a277.js";const g='{"title":"Interface: BaseLayer","description":"","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"emitter","slug":"emitter"},{"level":3,"title":"minimized","slug":"minimized"},{"level":3,"title":"on","slug":"on"},{"level":2,"title":"Methods","slug":"methods"},{"level":3,"title":"emit","slug":"emit"}],"relativePath":"api/interfaces/game/layers.BaseLayer.md"}',d={},n=r('

Interface: BaseLayer

game/layers.BaseLayer

Properties

emitter

\u2022 emitter: Emitter<LayerEvents>

Defined in

profectus/src/game/layers.tsx:63


minimized

\u2022 minimized: PersistentRef<boolean>

Defined in

profectus/src/game/layers.tsx:62


on

\u2022 on: (...args: [event: keyof LayerEvents, cb: Function | Function | Function]) => Unsubscribe

Type declaration

\u25B8 (...args): Unsubscribe

Parameters
NameType
...args[event: keyof LayerEvents, cb: Function | Function | Function]
Returns

Unsubscribe

Defined in

profectus/src/game/layers.tsx:64

Methods

emit

\u25B8 emit<K>(event, ...args): void

Type parameters

NameType
Kextends keyof LayerEvents

Parameters

NameType
eventK
...argsParameters<LayerEvents[K]>

Returns

void

Defined in

profectus/src/game/layers.tsx:65

',34),s=[n];function i(o,h,c,l,f,p){return a(),t("div",null,s)}var y=e(d,[["render",i]]);export{g as __pageData,y as default};