</div></section></div></details></section></section><sectionclass="tsd-panel-group tsd-member-group"><h2>Constructors</h2><sectionclass="tsd-panel tsd-member"><aid="constructor"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>constructor</span><ahref="#constructor"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="constructor.new_default"class="tsd-anchor"></a><spanclass="tsd-kind-constructor-signature">new default</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">scene</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="test_utils_phaseInterceptor.default.html"class="tsd-signature-type tsd-kind-class">default</a><ahref="#constructor.new_default"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>Constructor to initialize the scene and properties, and to start the phase handling.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">scene</span>: <spanclass="tsd-signature-type">any</span></span><divclass="tsd-comment tsd-typography"><p>The scene to be managed.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">phaseTarget</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The target phase for the prompt.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">mode</span>: <ahref="../enums/ui_ui.Mode.html"class="tsd-signature-type tsd-kind-enum">Mode</a></span><divclass="tsd-comment tsd-typography"><p>The mode of the UI.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">callback</span>: <spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol"> =></span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">)</span></span><divclass="tsd-comment tsd-typography"><p>The callback function to execute.</p>
</div><divclass="tsd-comment tsd-typography"></div><ulclass="tsd-parameters"><liclass="tsd-parameter-signature"><ulclass="tsd-signatures"><liclass="tsd-signature"><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span></li><liclass="tsd-description"><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4></li></ul></li></ul></li><li><span><spanclass="tsd-kind-parameter">expireFn</span>: <spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol"> =></span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">)</span></span><divclass="tsd-comment tsd-typography"><p>The function to determine if the prompt has expired.</p>
</div><divclass="tsd-comment tsd-typography"></div><ulclass="tsd-parameters"><liclass="tsd-parameter-signature"><ulclass="tsd-signatures"><liclass="tsd-signature"><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span></li><liclass="tsd-description"><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/40727bdc160a74b30f299777a6111877d0e91c57/src/test/utils/phaseInterceptor.ts#L257">src/test/utils/phaseInterceptor.ts:257</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="initPhases"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>init<wbr/>Phases</span><ahref="#initPhases"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="initPhases.initPhases-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">init<wbr/>Phases</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#initPhases.initPhases-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>Method to initialize phases and their corresponding methods.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/40727bdc160a74b30f299777a6111877d0e91c57/src/test/utils/phaseInterceptor.ts#L208">src/test/utils/phaseInterceptor.ts:208</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="mustRun"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>must<wbr/>Run</span><ahref="#mustRun"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="mustRun.mustRun-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">must<wbr/>Run</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">phaseTarget</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span><ahref="#mustRun.mustRun-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>Method to ensure a phase is run, to throw error on test if not.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">phaseTarget</span>: <spanclass="tsd-signature-type">any</span></span><divclass="tsd-comment tsd-typography"><p>The phase to run.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span></h4><p>A promise that resolves when the phase is run.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/40727bdc160a74b30f299777a6111877d0e91c57/src/test/utils/phaseInterceptor.ts#L131">src/test/utils/phaseInterceptor.ts:131</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="remove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>remove</span><ahref="#remove"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="remove.remove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">remove</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">phaseTarget</span>, <spanclass="tsd-kind-parameter">skipFn</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span><ahref="#remove.remove-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>Method to remove a phase from the list.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span></h4><p>A promise that resolves when the phase is removed.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/40727bdc160a74b30f299777a6111877d0e91c57/src/test/utils/phaseInterceptor.ts#L170">src/test/utils/phaseInterceptor.ts:170</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="restoreOg"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>restore<wbr/>Og</span><ahref="#restoreOg"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="restoreOg.restoreOg-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">restore<wbr/>Og</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#restoreOg.restoreOg-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>Restores the original state of phases and clears intervals.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/40727bdc160a74b30f299777a6111877d0e91c57/src/test/utils/phaseInterceptor.ts#L272">src/test/utils/phaseInterceptor.ts:272</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="run"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>run</span><ahref="#run"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="run.run-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">run</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">phaseTarget</span>, <spanclass="tsd-kind-parameter">skipFn</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span><ahref="#run.run-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>Method to run a phase with an optional skip function.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span></h4><p>A promise that resolves when the phase is run.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/40727bdc160a74b30f299777a6111877d0e91c57/src/test/utils/phaseInterceptor.ts#L113">src/test/utils/phaseInterceptor.ts:113</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="runFrom"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>run<wbr/>From</span><ahref="#runFrom"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="runFrom.runFrom-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">run<wbr/>From</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">phaseFrom</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="test_utils_phaseInterceptor.default.html"class="tsd-signature-type tsd-kind-class">default</a><ahref="#runFrom.runFrom-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>Method to set the starting phase.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">phaseFrom</span>: <spanclass="tsd-signature-type">any</span></span><divclass="tsd-comment tsd-typography"><p>The phase to start from.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <ahref="test_utils_phaseInterceptor.default.html"class="tsd-signature-type tsd-kind-class">default</a></h4><p>The instance of the PhaseInterceptor.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">phaseTo</span>: <spanclass="tsd-signature-type">any</span></span><divclass="tsd-comment tsd-typography"><p>The phase to transition to.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span></h4><p>A promise that resolves when the transition is complete.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/40727bdc160a74b30f299777a6111877d0e91c57/src/test/utils/phaseInterceptor.ts#L89">src/test/utils/phaseInterceptor.ts:89</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="waitUntil"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>wait<wbr/>Until</span><ahref="#waitUntil"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="waitUntil.waitUntil-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">wait<wbr/>Until</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">phaseTarget</span>, <spanclass="tsd-kind-parameter">skipFn</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span><ahref="#waitUntil.waitUntil-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>Method to wait until a specific phase is reached.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span></h4><p>A promise that resolves when the phase is reached.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/40727bdc160a74b30f299777a6111877d0e91c57/src/test/utils/phaseInterceptor.ts#L188">src/test/utils/phaseInterceptor.ts:188</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="whenAboutToRun"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>when<wbr/>About<wbr/>To<wbr/>Run</span><ahref="#whenAboutToRun"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="whenAboutToRun.whenAboutToRun-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">when<wbr/>About<wbr/>To<wbr/>Run</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">phaseTarget</span>, <spanclass="tsd-kind-parameter">skipFn</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span><ahref="#whenAboutToRun.whenAboutToRun-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>Method to execute actions when about to run a phase. Does not run the phase, stop right before.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span></h4><p>A promise that resolves when the phase is about to run.</p>