import{_ase,casa,oast,Nasr}from"./chunks/framework.0799945b.js";constu=JSON.parse('{"title":"Interface: BaseLayer","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/game/layers.BaseLayer.md","lastUpdated":null}'),o={name:"api/interfaces/game/layers.BaseLayer.md"},n=r('<h1id="interface-baselayer"tabindex="-1">Interface:BaseLayer<aclass="header-anchor"href="#interface-baselayer"aria-label="Permalink to "Interface: BaseLayer""></a></h1><p><ahref="./../../modules/game/layers">game/layers</a>.BaseLayer</p><p>Thepropertiesthatareaddedontoaprocessed<ahref="./layers.LayerOptions">LayerOptions</a>tocreatea<ahref="./../../modules/game/layers#layer">Layer</a></p><h2id="properties"tabindex="-1">Properties<aclass="header-anchor"href="#properties"aria-label="Permalinkto"Properties""></a></h2><h3id="emit"tabindex="-1">emit<aclass="header-anchor"href="#emit"aria-label="Permalinkto"emit""></a></h3><p>•<strong>emit</strong>:<K>(...<code>args</code>:[<code>K</code>,...Parameters<LayerEvents[K]>[]])=><code>void</code></p><h4id="type-declaration"tabindex="-1">Typedeclaration<aclass="header-anchor"href="#type-declaration"aria-label="Permalinkto"Typedeclaration""></a></h4><p>▸<<code>K</code>>(<code>...args</code>):<code>void</code></p><p>Afunctiontoemita<ahref="./layers.LayerEvents">LayerEvents</a>eventtothislayer.</p><h5id="type-parameters"tabindex="-1">Typeparameters<aclass="header-anchor"href="#type-parameters"aria-label="Permalinkto"Typeparameters""></a></h5><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>K</code></td><tdstyle="text-align:left;">extendskeyof<ahref="./layers.LayerEvents"><code>LayerEvents</code></a></td></tr></tbody></table><h5id="parameters"tabindex="-1">Parameters<aclass="header-anchor"href="#parameters"aria-label="Permalinkto"Parameters""></a></h5><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>...args</code></td><tdstyle="text-align:left;">[<code>K</code>,...Parameters<LayerEvents[K]>[]]</td></tr></tbody></table><h5id="returns"tabindex="-1">Returns<aclass="header-anchor"href="#returns"aria-label="Permalinkto"Returns""></a></h5><p><code>void</code></p><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/game/layers.tsx#L162"target="_blank"rel="noreferrer">profectus/src/game/layers.tsx:162</a></p><hr><h3id="emitter"tabindex="-1">emitter<aclass="header-anchor"href="#emitter"aria-label="Permalinkto"emitter""></a></h3><p>•<strong>emitter</strong>:<code>Emitter</code><<ahref="./layers.LayerEvents"><code>LayerEvents</code></a>></p><p>Anemitterforsending<ahref="./layers.LayerEvents">LayerEvents</a>eventsforthislayer.</p><h4id="defined-in-1"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-1"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/game/layers.tsx#L158"target="_blank"rel="noreferrer">profectus/src/game/layers.tsx:158</a></p><hr><h3id="id"tabindex="-1">id<aclass="header-anchor"href="#id"aria-label="Permalinkto"id""></a></h3><p>•<strong>id</strong>:<code>string</code></p><p>TheIDofthelayer.Populatedfromthe<ahref="./../../modules/game/layers#createlayer">createLayer</a>parameters.Usedforsavingandtrackingopentabs.</p><h4id="defined-in-2"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-2"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://gi