1 line
6.7 KiB
JavaScript
1 line
6.7 KiB
JavaScript
import{_ as e,c as t,o as a,a as r}from"./app.ab34650d.js";const g=JSON.parse('{"title":"Module: features/reset","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Interfaces","slug":"interfaces"},{"level":2,"title":"Type Aliases","slug":"type-aliases"},{"level":3,"title":"GenericReset","slug":"genericreset"},{"level":3,"title":"Reset","slug":"reset"},{"level":2,"title":"Variables","slug":"variables"},{"level":3,"title":"ResetType","slug":"resettype"},{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"createReset","slug":"createreset"},{"level":3,"title":"trackResetTime","slug":"trackresettime"}],"relativePath":"api/modules/features/reset.md","lastUpdated":null}'),s={name:"api/modules/features/reset.md"},d=r('<h1 id="module-features-reset" tabindex="-1">Module: features/reset <a class="header-anchor" href="#module-features-reset" aria-hidden="true">#</a></h1><h2 id="interfaces" tabindex="-1">Interfaces <a class="header-anchor" href="#interfaces" aria-hidden="true">#</a></h2><ul><li><a href="../../interfaces/features/reset.BaseReset">BaseReset</a></li><li><a href="../../interfaces/features/reset.ResetOptions">ResetOptions</a></li></ul><h2 id="type-aliases" tabindex="-1">Type Aliases <a class="header-anchor" href="#type-aliases" aria-hidden="true">#</a></h2><h3 id="genericreset" tabindex="-1">GenericReset <a class="header-anchor" href="#genericreset" aria-hidden="true">#</a></h3><p>\u01AC <strong>GenericReset</strong>: <a href="./reset.html#reset"><code>Reset</code></a><<a href="../../interfaces/features/reset.ResetOptions"><code>ResetOptions</code></a>></p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/reset.ts#L34" target="_blank" rel="noopener noreferrer">profectus/src/features/reset.ts:34</a></p><hr><h3 id="reset" tabindex="-1">Reset <a class="header-anchor" href="#reset" aria-hidden="true">#</a></h3><p>\u01AC <strong>Reset</strong><<code>T</code>>: <a href="./feature.html#replace"><code>Replace</code></a><<code>T</code> & <a href="../../interfaces/features/reset.BaseReset"><code>BaseReset</code></a>, { <code>thingsToReset</code>: <a href="./../util/computed.html#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"thingsToReset"</code>]> }></p><h4 id="type-parameters" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="../../interfaces/features/reset.ResetOptions"><code>ResetOptions</code></a></td></tr></tbody></table><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/reset.ts#L27" target="_blank" rel="noopener noreferrer">profectus/src/features/reset.ts:27</a></p><h2 id="variables" tabindex="-1">Variables <a class="header-anchor" href="#variables" aria-hidden="true">#</a></h2><h3 id="resettype" tabindex="-1">ResetType <a class="header-anchor" href="#resettype" aria-hidden="true">#</a></h3><p>\u2022 <code>Const</code> <strong>ResetType</strong>: typeof <a href="./reset.html#resettype"><code>ResetType</code></a></p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/reset.ts#L14" target="_blank" rel="noopener noreferrer">profectus/src/features/reset.ts:14</a></p><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-hidden="true">#</a></h2><h3 id="createreset" tabindex="-1">createReset <a class="header-anchor" href="#createreset" aria-hidden="true">#</a></h3><p>\u25B8 <strong>createReset</strong><<code>T</code>>(<code>optionsFunc</code>): <a href="./reset.html#reset"><code>Reset</code></a><<code>T</code>></p><h4 id="type-parameters-1" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters-1" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T</code></td><td style="text-align:left;">extends <a href="../../interfaces/features/reset.ResetOptions"><code>ResetOptions</code></a></td></tr></tbody></table><h4 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>optionsFunc</code></td><td style="text-align:left;"><a href="./feature.html#optionsfunc"><code>OptionsFunc</code></a><<code>T</code>, <a href="../../interfaces/features/reset.BaseReset"><code>BaseReset</code></a>, <a href="./reset.html#genericreset"><code>GenericReset</code></a>></td></tr></tbody></table><h4 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-hidden="true">#</a></h4><p><a href="./reset.html#reset"><code>Reset</code></a><<code>T</code>></p><hr><h3 id="trackresettime" tabindex="-1">trackResetTime <a class="header-anchor" href="#trackresettime" aria-hidden="true">#</a></h3><p>\u25B8 <strong>trackResetTime</strong>(<code>layer</code>, <code>reset</code>): <a href="./../game/persistence.html#persistent"><code>Persistent</code></a><<a href="../../classes/lib/break_eternity.default"><code>default</code></a>></p><h4 id="parameters-1" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-1" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>layer</code></td><td style="text-align:left;"><a href="../../interfaces/game/layers.BaseLayer"><code>BaseLayer</code></a></td></tr><tr><td style="text-align:left;"><code>reset</code></td><td style="text-align:left;"><a href="./reset.html#genericreset"><code>GenericReset</code></a></td></tr></tbody></table><h4 id="returns-1" tabindex="-1">Returns <a class="header-anchor" href="#returns-1" aria-hidden="true">#</a></h4><p><a href="./../game/persistence.html#persistent"><code>Persistent</code></a><<a href="../../classes/lib/break_eternity.default"><code>default</code></a>></p>',36),i=[d];function n(c,l,o,h,f,p){return a(),t("div",null,i)}var y=e(s,[["render",n]]);export{g as __pageData,y as default};
|