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('
game/layers.BaseLayer
\u2022 emitter: Emitter
<LayerEvents
>
profectus/src/game/layers.tsx:63
\u2022 minimized: PersistentRef
<boolean
>
profectus/src/game/layers.tsx:62
\u2022 on: (...args
: [event: keyof LayerEvents, cb: Function | Function | Function]) => Unsubscribe
\u25B8 (...args
): Unsubscribe
Name | Type |
---|---|
...args | [event: keyof LayerEvents, cb: Function | Function | Function] |
Unsubscribe
profectus/src/game/layers.tsx:64
\u25B8 emit<K
>(event
, ...args
): void
Name | Type |
---|---|
K | extends keyof LayerEvents |
Name | Type |
---|---|
event | K |
...args | Parameters <LayerEvents [K ]> |
void