1 line
2.6 KiB
JavaScript
1 line
2.6 KiB
JavaScript
import{_ as a,c as t,a0 as c,o as r}from"./chunks/framework.P9qPzDnn.js";const h=JSON.parse('{"title":"Function: setupAutoClick()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/clickables/clickable/functions/setupAutoClick.md","filePath":"api/features/clickables/clickable/functions/setupAutoClick.md","lastUpdated":null}'),l={name:"api/features/clickables/clickable/functions/setupAutoClick.md"};function o(i,e,s,n,u,d){return r(),t("div",null,e[0]||(e[0]=[c('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/clickables/clickable</a> / setupAutoClick</p><h1 id="function-setupautoclick" tabindex="-1">Function: setupAutoClick() <a class="header-anchor" href="#function-setupautoclick" aria-label="Permalink to "Function: setupAutoClick()""></a></h1><blockquote><p><strong>setupAutoClick</strong>(<code>layer</code>, <code>clickable</code>, <code>autoActive</code>): <code>Unsubscribe</code></p></blockquote><p>Utility to auto click a clickable whenever it can be.</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="layer" tabindex="-1">layer <a class="header-anchor" href="#layer" aria-label="Permalink to "layer""></a></h3><p><a href="./../../../../game/layers/interfaces/BaseLayer"><code>BaseLayer</code></a></p><p>The layer the clickable is apart of</p><h3 id="clickable" tabindex="-1">clickable <a class="header-anchor" href="#clickable" aria-label="Permalink to "clickable""></a></h3><p><code>Clickable</code></p><p>The clicker to click automatically</p><h3 id="autoactive" tabindex="-1">autoActive <a class="header-anchor" href="#autoactive" aria-label="Permalink to "autoActive""></a></h3><p><a href="https://vuejs.org/api/utility-types.html#maybereforgetter" target="_blank" rel="noreferrer"><code>MaybeRefOrGetter</code></a><<code>boolean</code>> = <code>true</code></p><p>Whether or not the clickable should currently be auto-clicking</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h2><p><code>Unsubscribe</code></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/clickables/clickable.tsx#L124" target="_blank" rel="noreferrer">profectus/src/features/clickables/clickable.tsx:124</a></p>',18)]))}const k=a(l,[["render",o]]);export{h as __pageData,k as default};
|