profectus-docs/assets/api_features_challenges_challenge_interfaces_Challenge.md.BS7Xc5zx.lean.js

2 lines
21 KiB
JavaScript
Raw Normal View History

import{_ as a,c as r,a0 as t,o as n}from"./chunks/framework.P9qPzDnn.js";const f=JSON.parse('{"title":"Interface: Challenge","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/challenges/challenge/interfaces/Challenge.md","filePath":"api/features/challenges/challenge/interfaces/Challenge.md","lastUpdated":null}'),o={name:"api/features/challenges/challenge/interfaces/Challenge.md"};function i(l,e,c,s,h,d){return n(),r("div",null,e[0]||(e[0]=[t('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/challenges/challenge</a> / Challenge</p><h1 id="interface-challenge" tabindex="-1">Interface: Challenge <a class="header-anchor" href="#interface-challenge" aria-label="Permalink to &quot;Interface: Challenge&quot;"></a></h1><p>An object that represents a feature that can be entered and exited, and have one or more completions with scaling requirements.</p><h2 id="extends" tabindex="-1">Extends <a class="header-anchor" href="#extends" aria-label="Permalink to &quot;Extends&quot;"></a></h2><ul><li><a href="./../../../../util/vue/interfaces/VueFeature"><code>VueFeature</code></a></li></ul><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;Properties&quot;"></a></h2><h3 id="vuefeature" tabindex="-1">[VueFeature] <a class="header-anchor" href="#vuefeature" aria-label="Permalink to &quot;\\[VueFeature\\]&quot;"></a></h3><blockquote><p><strong>[VueFeature]</strong>: <code>true</code></p></blockquote><p>Used to identify Vue Features</p><h4 id="inherited-from" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from" aria-label="Permalink to &quot;Inherited from&quot;"></a></h4><p><a href="./../../../../util/vue/interfaces/VueFeature"><code>VueFeature</code></a>.<a href="./../../../../util/vue/interfaces/VueFeature#[vuefeature]"><code>[VueFeature]</code></a></p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/util/vue.tsx#L43" target="_blank" rel="noreferrer">profectus/src/util/vue.tsx:43</a></p><hr><h3 id="active" tabindex="-1">active <a class="header-anchor" href="#active" aria-label="Permalink to &quot;active&quot;"></a></h3><blockquote><p><strong>active</strong>: <a href="./../../../../game/persistence/type-aliases/Persistent"><code>Persistent</code></a>&lt;<code>boolean</code>&gt;</p></blockquote><p>Whether or not this challenge is currently active.</p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/challenges/challenge.tsx#L90" target="_blank" rel="noreferrer">profectus/src/features/challenges/challenge.tsx:90</a></p><hr><h3 id="cancomplete" tabindex="-1">canComplete <a class="header-anchor" href="#cancomplete" aria-label="Permalink to &quot;canComplete&quot;"></a></h3><blockquote><p><strong>canComplete</strong>: <a href="https://vuejs.org/guide/typescript/composition-api.html#typing-ref" target="_blank" rel="noreferrer"><code>Ref</code></a>&lt;<a href="./../../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</code></a>, <a href="./../../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</code></a>&gt;</p></blockquote><p>The current amount of times this challenge can be completed.</p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/challenges/challenge.tsx#L82" target="_blank" rel="noreferrer">profectus/src/features/challenges/challenge.tsx:82</a></p><hr><h3 id="canstart" tabindex="-1">canStart? <a class="header-anchor" href="#canstart" aria-label="Per