</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">challengeType</span>: <ahref="../enums/data_challenge.ChallengeType.html"class="tsd-signature-type tsd-kind-enum">ChallengeType</a></span><divclass="tsd-comment tsd-typography"><p>The challenge type to add.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#addChallengeType">addChallengeType</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L130">src/data/challenge.ts:130</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="apply"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply</span><ahref="#apply"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="apply.apply-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">challengeType</span>, <spanclass="tsd-kind-parameter">args</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#apply.apply-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Modifies the data or game state in some way to apply the challenge.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">challengeType</span>: <ahref="../enums/data_challenge.ChallengeType.html"class="tsd-signature-type tsd-kind-enum">ChallengeType</a></span><divclass="tsd-comment tsd-typography"><p>Which challenge type this is being applied for.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">args</span>: <spanclass="tsd-signature-type">any</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>Irrelevant. See the specific challenge's apply function for additional information.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#condition">condition</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L110">src/data/challenge.ts:110</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="decreaseSeverity"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>decrease<wbr/>Severity</span><ahref="#decreaseSeverity"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited"><liclass="tsd-signature tsd-anchor-link"><aid="decreaseSeverity.decreaseSeverity-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">decrease<wbr/>Severity</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#decreaseSeverity.decreaseSeverity-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Decrease the severity of the challenge</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#decreaseSeverity">decreaseSeverity</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L202">src/data/challenge.ts:202</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="decreaseValue"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>decrease<wbr/>Value</span><ahref="#decreaseValue"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited"><liclass="tsd-signature tsd-anchor-link"><aid="decreaseValue.decreaseValue-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">decrease<wbr/>Value</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#decreaseValue.decreaseValue-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Decrease the value of the challenge</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#decreaseValue">decreaseValue</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L183">src/data/challenge.ts:183</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getDescription"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Description</span><ahref="#getDescription"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="getDescription.getDescription-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Description</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">overrideValue</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">string</span><ahref="#getDescription.getDescription-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns the description of a challenge's current value.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">overrideValue</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The value to check for. If undefined, gets the current value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">string</span></h4><p>The localised description for the current value.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#getMinDifficulty">getMinDifficulty</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L234">src/data/challenge.ts:234</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="getName"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Name</span><ahref="#getName"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited"><liclass="tsd-signature tsd-anchor-link"><aid="getName.getName-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Name</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">string</span><ahref="#getName.getName-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">string</span></h4><p>The localised name of this challenge.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#getName">getName</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L139">src/data/challenge.ts:139</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getValue"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Value</span><ahref="#getValue"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="getValue.getValue-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Value</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">overrideValue</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">string</span><ahref="#getValue.getValue-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns the textual representation of a challenge's current value.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">overrideValue</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The value to check for. If undefined, gets the current value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">string</span></h4><p>The localised name for the current value.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#geti18nKey">geti18nKey</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L92">src/data/challenge.ts:92</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="hasSeverity"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>has<wbr/>Severity</span><ahref="#hasSeverity"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited"><liclass="tsd-signature tsd-anchor-link"><aid="hasSeverity.hasSeverity-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">has<wbr/>Severity</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#hasSeverity.hasSeverity-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Whether to allow choosing this challenge's severity.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#hasSeverity">hasSeverity</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L194">src/data/challenge.ts:194</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="increaseSeverity"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>increase<wbr/>Severity</span><ahref="#increaseSeverity"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited"><liclass="tsd-signature tsd-anchor-link"><aid="increaseSeverity.increaseSeverity-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">increase<wbr/>Severity</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#increaseSeverity.increaseSeverity-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Increase the severity of the challenge</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#increaseSeverity">increaseSeverity</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L214">src/data/challenge.ts:214</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="increaseValue"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>increase<wbr/>Value</span><ahref="#increaseValue"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited"><liclass="tsd-signature tsd-anchor-link"><aid="increaseValue.increaseValue-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">increase<wbr/>Value</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#increaseValue.increaseValue-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Increase the value of the challenge</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#increaseValue">increaseValue</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L171">src/data/challenge.ts:171</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="isOfType"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Of<wbr/>Type</span><ahref="#isOfType"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited"><liclass="tsd-signature tsd-anchor-link"><aid="isOfType.isOfType-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Of<wbr/>Type</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">challengeType</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isOfType.isOfType-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>If this challenge is of a particular type</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">challengeType</span>: <ahref="../enums/data_challenge.ChallengeType.html"class="tsd-signature-type tsd-kind-enum">ChallengeType</a></span><divclass="tsd-comment tsd-typography"><p>The challenge type to check.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">data</span>: <ahref="system_game_data.GameData.html"class="tsd-signature-type tsd-kind-class">GameData</a></span><divclass="tsd-comment tsd-typography"><p>The save data.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>Whether this challenge is unlocked.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#isUnlocked">isUnlocked</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L101">src/data/challenge.ts:101</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="reset"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>reset</span><ahref="#reset"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited"><liclass="tsd-signature tsd-anchor-link"><aid="reset.reset-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">reset</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#reset.reset-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Reset the challenge to a base state.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#reset">reset</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/cc36cdb1a86b8d83e0b87396c46a42375d8ce0a8/src/data/challenge.ts#L83">src/data/challenge.ts:83</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="loadChallenge"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagStatic">Static</code><span>load<wbr/>Challenge</span><ahref="#loadChallenge"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="loadChallenge.loadChallenge-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">load<wbr/>Challenge</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_challenge.SingleGenerationChallenge.html"class="tsd-signature-type tsd-kind-class">SingleGenerationChallenge</a><ahref="#loadChallenge.loadChallenge-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Clones a challenge, either from another challenge or json. Chainable.</p>