pokerogue/main/classes/ui_battle_info.PlayerBattle...

897 lines
431 KiB
HTML
Raw Permalink Normal View History

2024-11-18 18:42:56 +00:00
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PlayerBattleInfo | pokemon-rogue-battle</title><meta name="description" content="Documentation for pokemon-rogue-battle"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">pokemon-rogue-battle</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">pokemon-rogue-battle</a></li><li><a href="../modules/ui_battle_info.html">ui/battle-info</a></li><li><a href="ui_battle_info.PlayerBattleInfo.html">PlayerBattleInfo</a></li></ul><h1>Class PlayerBattleInfo</h1></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#ui/battle-info.PlayerBattleInfo">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="ui_battle_info.default.html" class="tsd-signature-type tsd-kind-class">default</a><ul class="tsd-hierarchy"><li><span class="target">PlayerBattleInfo</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L819">src/ui/battle-info.ts:819</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="ui_battle_info.PlayerBattleInfo.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
2024-05-31 14:57:14 +01:00
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="ui_battle_info.PlayerBattleInfo.html#active" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>active</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#alpha" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>alpha</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#angle" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>angle</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#blendMode" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>blend<wbr/>Mode</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#body" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>body</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#cameraFilter" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera<wbr/>Filter</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#data" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#depth" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>depth</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#displayHeight" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>Height</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#displayList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>List</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#displayOriginX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>OriginX</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#displayOriginY" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>OriginY</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#displayWidth" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>Width</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#exclusive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exclusive</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#expMaskRect" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exp<wbr/>Mask<wbr/>Rect</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#first" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>first</span></a>
2024-06-08 20:34:23 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#flyoutMenu" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>flyout<wbr/>Menu?</span></a>
2024-05-31 14:57:14 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#hasPostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Post<wbr/>Pipeline</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#hasTransformComponent" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Transform<wbr/>Component</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#height" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>height</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#ignoreDestroy" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ignore<wbr/>Destroy</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#input" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>input</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#last" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>last</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#length" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>length</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#list" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>list</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#localTransform" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>local<wbr/>Transform</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#mask" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#maxSize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Size</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#name" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#next" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>next</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#originX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>originX</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#originY" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>originY</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#parentContainer" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>parent<wbr/>Container</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#position" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>position</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#postFX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>postFX</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#postPipelineData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>post<wbr/>Pipeline<wbr/>Data</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#postPipelines" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>post<wbr/>Pipelines</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#preFX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>preFX</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#previous" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#renderFlags" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>render<wbr/>Flags</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#rotation" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rotation</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#scale" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scale</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#scaleX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scaleX</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#scaleY" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scaleY</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#scene" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#scrollFactorX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scroll<wbr/>FactorX</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#scrollFactorY" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scroll<wbr/>FactorY</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#state" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#tabIndex" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tab<wbr/>Index</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#type" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#visible" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>visible</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#w" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>w</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#width" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>width</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#x" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>x</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#y" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>y</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#z" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>z</span></a>
2024-09-27 22:52:07 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#EXP_GAINS_DURATION_BASE" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>EXP_<wbr/>GAINS_<wbr/>DURATION_<wbr/>BASE</span></a>
2024-05-31 14:57:14 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#RENDER_MASK" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>RENDER_<wbr/>MASK</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="ui_battle_info.PlayerBattleInfo.html#add" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#addAt" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>At</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#addListener" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Listener</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#addToDisplayList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To<wbr/>Display<wbr/>List</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#addToUpdateList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To<wbr/>Update<wbr/>List</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#addedToScene" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>added<wbr/>To<wbr/>Scene</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#bringToTop" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>bring<wbr/>To<wbr/>Top</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#clearAlpha" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Alpha</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#clearFX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clearFX</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#clearMask" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Mask</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#copyPosition" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>copy<wbr/>Position</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#count" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>count</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#createBitmapMask" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Bitmap<wbr/>Mask</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#createGeometryMask" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Geometry<wbr/>Mask</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#destroy" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>destroy</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#disableInteractive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable<wbr/>Interactive</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#each" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>each</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#emit" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>emit</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#eventNames" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>event<wbr/>Names</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#exists" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>exists</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getAll" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>All</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getAt" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>At</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getBaseY" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>BaseY</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getBounds" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Bounds</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getBoundsTransformMatrix" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Bounds<wbr/>Transform<wbr/>Matrix</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getByName" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>By<wbr/>Name</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Data</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getFirst" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>First</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getIndex" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Index</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getIndexList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Index<wbr/>List</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getLocalPoint" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Local<wbr/>Point</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getLocalTransformMatrix" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Local<wbr/>Transform<wbr/>Matrix</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getParentRotation" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Parent<wbr/>Rotation</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getPostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Post<wbr/>Pipeline</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getRandom" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Random</span></a>
2024-08-17 18:01:18 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#getStatsValueContainer" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stats<wbr/>Value<wbr/>Container</span></a>
2024-05-31 14:57:14 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#getTextureName" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Texture<wbr/>Name</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#getWorldTransformMatrix" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>World<wbr/>Transform<wbr/>Matrix</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#incData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>inc<wbr/>Data</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#initInfo" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Info</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#initPostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Post<wbr/>Pipeline</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#iterate" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>iterate</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#listenerCount" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>listener<wbr/>Count</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#listeners" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>listeners</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#moveAbove" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Above</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#moveBelow" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Below</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#moveDown" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Down</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#moveTo" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>To</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#moveUp" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Up</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#off" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>off</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#on" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#onChildDestroyed" class="tsd-index-link tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Child<wbr/>Destroyed</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#once" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>once</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#pointToContainer" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>point<wbr/>To<wbr/>Container</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#preDestroy" class="tsd-index-link tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pre<wbr/>Destroy</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#remove" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#removeAll" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>All</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#removeAllListeners" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>All<wbr/>Listeners</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#removeAt" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>At</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#removeBetween" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Between</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#removeFromDisplayList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>From<wbr/>Display<wbr/>List</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#removeFromUpdateList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>From<wbr/>Update<wbr/>List</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#removeInteractive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Interactive</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#removeListener" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Listener</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#removePostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Post<wbr/>Pipeline</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#removedFromScene" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>removed<wbr/>From<wbr/>Scene</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#replace" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>replace</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#resetPostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Post<wbr/>Pipeline</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#resetY" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>resetY</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#reverse" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reverse</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#sendToBack" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send<wbr/>To<wbr/>Back</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setActive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Active</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setAll" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>All</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setAlpha" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Alpha</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setAngle" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Angle</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setBlendMode" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Blend<wbr/>Mode</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Data</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setDataEnabled" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Data<wbr/>Enabled</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setDepth" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Depth</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setDisplaySize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Display<wbr/>Size</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setExclusive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Exclusive</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setHpNumbers" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Hp<wbr/>Numbers</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setInteractive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Interactive</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setLevel" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Level</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setMask" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Mask</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setMini" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Mini</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setName" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Name</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setOffset" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Offset</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setPosition" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Position</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setPositionRelative" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Position<wbr/>Relative</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setPostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Post<wbr/>Pipeline</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setPostPipelineData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Post<wbr/>Pipeline<wbr/>Data</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setRandomPosition" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Random<wbr/>Position</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setRotation" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Rotation</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setScale" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scale</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setScrollFactor" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scroll<wbr/>Factor</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setSize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Size</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setState" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>State</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setVisible" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Visible</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setW" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setW</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setX</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setY" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setY</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#setZ" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setZ</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#shuffle" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>shuffle</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#shutdown" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>shutdown</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#sort" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sort</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#swap" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>swap</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#toJSON" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toJSON</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#toggleData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Data</span></a>
2024-06-08 20:34:23 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#toggleFlyout" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Flyout</span></a>
2024-05-31 14:57:14 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#toggleStats" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Stats</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#update" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#updateBossSegmentDividers" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Boss<wbr/>Segment<wbr/>Dividers</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#updateBossSegments" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Boss<wbr/>Segments</span></a>
2024-06-08 20:34:23 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#updateEffectiveness" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Effectiveness</span></a>
2024-05-31 14:57:14 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#updateInfo" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Info</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#updateNameText" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Name<wbr/>Text</span></a>
<a href="ui_battle_info.PlayerBattleInfo.html#updatePokemonExp" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Pokemon<wbr/>Exp</span></a>
2024-09-10 23:07:25 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#updateStats" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Stats</span></a>
2024-05-31 14:57:14 +01:00
<a href="ui_battle_info.PlayerBattleInfo.html#willRender" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>will<wbr/>Render</span></a>
2024-11-18 18:42:56 +00:00
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_PlayerBattleInfo" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Player<wbr/>Battle<wbr/>Info</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ui_battle_info.PlayerBattleInfo.html" class="tsd-signature-type tsd-kind-class">PlayerBattleInfo</a><a href="#constructor.new_PlayerBattleInfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">scene</span>: <span class="tsd-signature-type">Scene</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="ui_battle_info.PlayerBattleInfo.html" class="tsd-signature-type tsd-kind-class">PlayerBattleInfo</a></h4><aside class="tsd-sources"><p>Overrides <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L820">src/ui/battle-info.ts:820</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="active" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>active</span><a href="#active" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">active</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>The active state of this Game Object.
2024-05-31 14:57:14 +01:00
A Game Object with an active state of <code>true</code> is processed by the Scenes UpdateList, if added to it.
An active object is one which is having its logic and internal systems updated.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#active">active</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19599</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="alpha" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>alpha</span><a href="#alpha" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">alpha</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The alpha value of the Game Object.</p>
<p>This is a global value, impacting the entire Game Object, not just a region of it.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#alpha">alpha</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17109</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="angle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>angle</span><a href="#angle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">angle</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The angle of this Game Object as expressed in degrees.</p>
<p>Phaser uses a right-hand clockwise rotation system, where 0 is right, 90 is down, 180/-180 is left
and -90 is up.</p>
<p>If you prefer to work in radians, see the <code>rotation</code> property instead.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#angle">angle</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17505</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="blendMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>blend<wbr/>Mode</span><a href="#blendMode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">blend<wbr/>Mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">BlendModes</span></div><div class="tsd-comment tsd-typography"><p>Sets the Blend Mode being used by this Game Object.</p>
<p>This can be a const, such as <code>Phaser.BlendModes.SCREEN</code>, or an integer, such as 4 (for Overlay)</p>
<p>Under WebGL only the following Blend Modes are available:</p>
<ul>
<li>NORMAL</li>
<li>ADD</li>
<li>MULTIPLY</li>
<li>SCREEN</li>
<li>ERASE</li>
</ul>
<p>Canvas has more available depending on browser support.</p>
<p>You can also create your own custom Blend Modes in WebGL.</p>
<p>Blend modes have different effects under Canvas and WebGL, and from browser to browser, depending
on support. Blend Modes also cause a WebGL batch flush should it encounter a new blend mode. For these
reasons try to be careful about the construction of your Scene and the frequency of which blend modes
are used.</p>
2024-08-17 18:01:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#blendMode">blendMode</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17133</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="body" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>body</span><a href="#body" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">body</span><span class="tsd-signature-symbol">:</span> <br/><span>    </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">null</span><br/><span>    </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">BodyType</span><br/><span>    </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">Body</span><br/><span>    </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">StaticBody</span></div><div class="tsd-comment tsd-typography"><p>If this Game Object is enabled for Arcade or Matter Physics then this property will contain a reference to a Physics Body.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#body">body</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19637</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="cameraFilter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>camera<wbr/>Filter</span><a href="#cameraFilter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">camera<wbr/>Filter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>A bitmask that controls if this Game Object is drawn by a Camera or not.
Not usually set directly, instead call <code>Camera.ignore</code>, however you can
2024-07-28 00:48:18 +01:00
set this property directly using the <a href="http://Camera.id">Camera.id</a> property:</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#cameraFilter">cameraFilter</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19626</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="data" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>data</span><a href="#data" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DataManager</span></div><div class="tsd-comment tsd-typography"><p>A Data Manager.
It allows you to store, query and get key/value paired information specific to this Game Object.
<code>null</code> by default. Automatically created if you use <code>getData</code> or <code>setData</code> or <code>setDataEnabled</code>.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#data">data</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19612</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="depth" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>depth</span><a href="#depth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">depth</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The depth of this Game Object within the Scene. Ensure this value is only ever set to a number data-type.</p>
2024-07-28 00:48:18 +01:00
<p>The depth is also known as the 'z-index' in some environments, and allows you to change the rendering order
2024-05-31 14:57:14 +01:00
of Game Objects, without actually moving their position in the display list.</p>
<p>The default depth is zero. A Game Object with a higher depth
value will always render in front of one with a lower value.</p>
<p>Setting the depth will queue a depth sort event within the Scene.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#depth">depth</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17231</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="displayHeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>display<wbr/>Height</span><a href="#displayHeight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">display<wbr/>Height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The displayed height of this Game Object.</p>
<p>This value takes into account the scale factor.</p>
2024-07-28 00:48:18 +01:00
<p>Setting this value will adjust the Game Object's scale property.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#displayHeight">displayHeight</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17194</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="displayList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>display<wbr/>List</span><a href="#displayList" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">display<wbr/>List</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Layer</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">DisplayList</span></div><div class="tsd-comment tsd-typography"><p>Holds a reference to the Display List that contains this Game Object.</p>
<p>This is set automatically when this Game Object is added to a Scene or Layer.</p>
<p>You should treat this property as being read-only.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#displayList">displayList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19563</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="displayOriginX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>display<wbr/>OriginX</span><a href="#displayOriginX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">display<wbr/>OriginX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Internal value to allow Containers to be used for input and physics.
2024-05-31 14:57:14 +01:00
Do not change this value. It has no effect other than to break things.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#displayOriginX">displayOriginX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16699</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="displayOriginY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>display<wbr/>OriginY</span><a href="#displayOriginY" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">display<wbr/>OriginY</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Internal value to allow Containers to be used for input and physics.
2024-05-31 14:57:14 +01:00
Do not change this value. It has no effect other than to break things.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#displayOriginY">displayOriginY</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16705</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="displayWidth" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>display<wbr/>Width</span><a href="#displayWidth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">display<wbr/>Width</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The displayed width of this Game Object.</p>
<p>This value takes into account the scale factor.</p>
2024-07-28 00:48:18 +01:00
<p>Setting this value will adjust the Game Object's scale property.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#displayWidth">displayWidth</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17185</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="exclusive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>exclusive</span><a href="#exclusive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">exclusive</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Does this Container exclusively manage its children?</p>
<p>The default is <code>true</code> which means a child added to this Container cannot
belong in another Container, which includes the Scene display list.</p>
<p>If you disable this then this Container will no longer exclusively manage its children.
This allows you to create all kinds of interesting graphical effects, such as replicating
Game Objects without reparenting them all over the Scene.
However, doing so will prevent children from receiving any kind of input event or have
2024-07-28 00:48:18 +01:00
their physics bodies work by default, as they're no longer a single entity on the
2024-05-31 14:57:14 +01:00
display list, but are being replicated where-ever this Container is.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#exclusive">exclusive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16620</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="expMaskRect" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>exp<wbr/>Mask<wbr/>Rect</span><a href="#expMaskRect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">exp<wbr/>Mask<wbr/>Rect</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Graphics</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#expMaskRect">expMaskRect</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L66">src/ui/battle-info.ts:66</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="first" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>first</span><a href="#first" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">first</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GameObject</span></div><div class="tsd-comment tsd-typography"><p>Returns the first Game Object within the Container, or <code>null</code> if it is empty.</p>
2024-05-31 14:57:14 +01:00
<p>You can move the cursor by calling <code>Container.next</code> and <code>Container.previous</code>.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#first">first</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17057</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="flyoutMenu" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>flyout<wbr/>Menu</span><a href="#flyoutMenu" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">flyout<wbr/>Menu</span><span class="tsd-signature-symbol">?:</span> <a href="ui_battle_flyout.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#flyoutMenu">flyoutMenu</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L73">src/ui/battle-info.ts:73</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="hasPostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Post<wbr/>Pipeline</span><a href="#hasPostPipeline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">has<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Does this Game Object have any Post Pipelines set?</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#hasPostPipeline">hasPostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17313</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="hasTransformComponent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>has<wbr/>Transform<wbr/>Component</span><a href="#hasTransformComponent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">has<wbr/>Transform<wbr/>Component</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>A property indicating that a Game Object has this component.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#hasTransformComponent">hasTransformComponent</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17453</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="height" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>height</span><a href="#height" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The native (un-scaled) height of this Game Object.</p>
<p>Changing this value will not change the size that the Game Object is rendered in-game.
For that you need to either set the scale of the Game Object (<code>setScale</code>) or use
the <code>displayHeight</code> property.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#height">height</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17176</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="ignoreDestroy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ignore<wbr/>Destroy</span><a href="#ignoreDestroy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ignore<wbr/>Destroy</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>This Game Object will ignore all calls made to its destroy method if this flag is set to <code>true</code>.
This includes calls that may come from a Group, Container or the Scene itself.
While it allows you to persist a Game Object across Scenes, please understand you are entirely
responsible for managing references to and from this Game Object.</p>
2024-08-17 18:01:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#ignoreDestroy">ignoreDestroy</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19645</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="input" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>input</span><a href="#input" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">input</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">InteractiveObject</span></div><div class="tsd-comment tsd-typography"><p>If this Game Object is enabled for input then this property will contain an InteractiveObject instance.
2024-05-31 14:57:14 +01:00
Not usually set directly. Instead call <code>GameObject.setInteractive()</code>.</p>
2024-08-17 18:01:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#input">input</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19632</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="last" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>last</span><a href="#last" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">last</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GameObject</span></div><div class="tsd-comment tsd-typography"><p>Returns the last Game Object within the Container, or <code>null</code> if it is empty.</p>
2024-05-31 14:57:14 +01:00
<p>You can move the cursor by calling <code>Container.next</code> and <code>Container.previous</code>.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#last">last</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17064</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="length" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>length</span><a href="#length" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">length</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The number of Game Objects inside this Container.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#length">length</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17050</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="list" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>list</span><a href="#list" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">list</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GameObject</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>An array holding the children of this Container.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#list">list</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16605</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="localTransform" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>local<wbr/>Transform</span><a href="#localTransform" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">local<wbr/>Transform</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TransformMatrix</span></div><div class="tsd-comment tsd-typography"><p>Internal Transform Matrix used for local space conversion.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#localTransform">localTransform</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16637</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="mask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mask</span><a href="#mask" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">mask</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BitmapMask</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GeometryMask</span></div><div class="tsd-comment tsd-typography"><p>The Mask this Game Object is using during render.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#mask">mask</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17250</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="maxSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>max<wbr/>Size</span><a href="#maxSize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">max<wbr/>Size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Containers can have an optional maximum size. If set to anything above 0 it
will constrict the addition of new Game Objects into the Container, capping off
the maximum limit the Container can grow in size to.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#maxSize">maxSize</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16627</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="name" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The name of this Game Object.
Empty by default and never populated by Phaser, this is left for developers to use.</p>
2024-08-17 18:01:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#name">name</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19592</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="next" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>next</span><a href="#next" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GameObject</span></div><div class="tsd-comment tsd-typography"><p>Returns the next Game Object within the Container, or <code>null</code> if it is empty.</p>
2024-05-31 14:57:14 +01:00
<p>You can move the cursor by calling <code>Container.next</code> and <code>Container.previous</code>.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#next">next</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17071</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="originX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>originX</span><a href="#originX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">originX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Internal value to allow Containers to be used for input and physics.
2024-05-31 14:57:14 +01:00
Do not change this value. It has no effect other than to break things.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#originX">originX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16687</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="originY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>originY</span><a href="#originY" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">originY</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Internal value to allow Containers to be used for input and physics.
2024-05-31 14:57:14 +01:00
Do not change this value. It has no effect other than to break things.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#originY">originY</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16693</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="parentContainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>parent<wbr/>Container</span><a href="#parentContainer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">parent<wbr/>Container</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Container</span></div><div class="tsd-comment tsd-typography"><p>The parent Container of this Game Object, if it has one.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#parentContainer">parentContainer</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19586</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="position" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>position</span><a href="#position" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">position</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The cursor position.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#position">position</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16632</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="postFX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>postFX</span><a href="#postFX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">postFX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">FX</span></div><div class="tsd-comment tsd-typography"><p>The Post FX component of this Game Object.</p>
<p>This component allows you to apply a variety of built-in effects to this Game Object, such
as glow, blur, bloom, displacements, vignettes and more. You access them via this property,
for example:</p>
2024-07-28 00:48:18 +01:00
<pre><code class="js"><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">player</span><span class="hl-1"> = </span><span class="hl-4">this</span><span class="hl-1">.</span><span class="hl-2">add</span><span class="hl-1">.</span><span class="hl-6">sprite</span><span class="hl-1">();</span><br/><span class="hl-2">player</span><span class="hl-1">.</span><span class="hl-2">postFX</span><span class="hl-1">.</span><span class="hl-6">addBloom</span><span class="hl-1">();</span>
</code><button type="button">Copy</button></pre>
2024-05-31 14:57:14 +01:00
<p>All FX are WebGL only and do not have Canvas counterparts.</p>
<p>Please see the FX Class for more details and available methods.</p>
<p>This property is always <code>null</code> until the <code>initPostPipeline</code> method is called.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#postFX">postFX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17375</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="postPipelineData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>post<wbr/>Pipeline<wbr/>Data</span><a href="#postPipelineData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">post<wbr/>Pipeline<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div><div class="tsd-comment tsd-typography"><p>An object to store pipeline specific data in, to be read by the pipelines this Game Object uses.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#postPipelineData">postPipelineData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17328</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="postPipelines" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>post<wbr/>Pipelines</span><a href="#postPipelines" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">post<wbr/>Pipelines</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>The WebGL Post FX Pipelines this Game Object uses for post-render effects.</p>
<p>The pipelines are processed in the order in which they appear in this array.</p>
<p>If you modify this array directly, be sure to set the
<code>hasPostPipeline</code> property accordingly.</p>
2024-08-17 18:01:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#postPipelines">postPipelines</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17323</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="preFX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>preFX</span><a href="#preFX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">preFX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">FX</span></div><div class="tsd-comment tsd-typography"><p>The Pre FX component of this Game Object.</p>
2024-05-31 14:57:14 +01:00
<p>This component allows you to apply a variety of built-in effects to this Game Object, such
as glow, blur, bloom, displacements, vignettes and more. You access them via this property,
for example:</p>
2024-07-28 00:48:18 +01:00
<pre><code class="js"><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">player</span><span class="hl-1"> = </span><span class="hl-4">this</span><span class="hl-1">.</span><span class="hl-2">add</span><span class="hl-1">.</span><span class="hl-6">sprite</span><span class="hl-1">();</span><br/><span class="hl-2">player</span><span class="hl-1">.</span><span class="hl-2">preFX</span><span class="hl-1">.</span><span class="hl-6">addBloom</span><span class="hl-1">();</span>
</code><button type="button">Copy</button></pre>
2024-05-31 14:57:14 +01:00
<p>Only the following Game Objects support Pre FX:</p>
<ul>
<li>Image</li>
<li>Sprite</li>
<li>TileSprite</li>
<li>Text</li>
<li>RenderTexture</li>
<li>Video</li>
</ul>
<p>All FX are WebGL only and do not have Canvas counterparts.</p>
<p>Please see the FX Class for more details and available methods.</p>
2024-08-17 18:01:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#preFX">preFX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17355</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="previous" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>previous</span><a href="#previous" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">previous</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GameObject</span></div><div class="tsd-comment tsd-typography"><p>Returns the previous Game Object within the Container, or <code>null</code> if it is empty.</p>
2024-05-31 14:57:14 +01:00
<p>You can move the cursor by calling <code>Container.next</code> and <code>Container.previous</code>.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#previous">previous</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17078</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="renderFlags" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>render<wbr/>Flags</span><a href="#renderFlags" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">render<wbr/>Flags</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The flags that are compared against <code>RENDER_MASK</code> to determine if this Game Object will render or not.
The bits are 0001 | 0010 | 0100 | 1000 set by the components Visible, Alpha, Transform and Texture respectively.
If those components are not used by your custom class then you can use this bitmask as you wish.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#renderFlags">renderFlags</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19619</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="rotation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rotation</span><a href="#rotation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">rotation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The angle of this Game Object in radians.</p>
<p>Phaser uses a right-hand clockwise rotation system, where 0 is right, PI/2 is down, +-PI is left
and -PI/2 is up.</p>
<p>If you prefer to work in degrees, see the <code>angle</code> property instead.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#rotation">rotation</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17515</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scale" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scale</span><a href="#scale" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scale</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>This is a special setter that allows you to set both the horizontal and vertical scale of this Game Object
to the same value, at the same time. When reading this value the result returned is <code>(scaleX + scaleY) / 2</code>.</p>
<p>Use of this property implies you wish the horizontal and vertical scales to be equal to each other. If this
2024-07-28 00:48:18 +01:00
isn't the case, use the <code>scaleX</code> or <code>scaleY</code> properties instead.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#scale">scale</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17485</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scaleX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scaleX</span><a href="#scaleX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scaleX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The horizontal scale of this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#scaleX">scaleX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17490</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scaleY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scaleY</span><a href="#scaleY" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scaleY</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The vertical scale of this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#scaleY">scaleY</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17495</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scene</span><a href="#scene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scene</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Scene</span></div><div class="tsd-comment tsd-typography"><p>A reference to the Scene to which this Game Object belongs.</p>
<p>Game Objects can only belong to one Scene.</p>
<p>You should consider this property as being read-only. You cannot move a
Game Object to another Scene by simply changing it.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#scene">scene</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19554</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scrollFactorX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scroll<wbr/>FactorX</span><a href="#scrollFactorX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scroll<wbr/>FactorX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The horizontal scroll factor of this Container.</p>
<p>The scroll factor controls the influence of the movement of a Camera upon this Container.</p>
<p>When a camera scrolls it will change the location at which this Container is rendered on-screen.
It does not change the Containers actual position values.</p>
<p>For a Container, setting this value will only update the Container itself, not its children.
If you wish to change the scrollFactor of the children as well, use the <code>setScrollFactor</code> method.</p>
<p>A value of 1 means it will move exactly in sync with a camera.
A value of 0 means it will not move at all, even if the camera moves.
Other values control the degree to which the camera movement is mapped to this Container.</p>
<p>Please be aware that scroll factor values other than 1 are not taken in to consideration when
calculating physics collisions. Bodies always collide based on their world position, but changing
the scroll factor is a visual adjustment to where the textures are rendered, which can offset
them from physics bodies if not accounted for in your code.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#scrollFactorX">scrollFactorX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16659</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scrollFactorY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scroll<wbr/>FactorY</span><a href="#scrollFactorY" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scroll<wbr/>FactorY</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The vertical scroll factor of this Container.</p>
<p>The scroll factor controls the influence of the movement of a Camera upon this Container.</p>
<p>When a camera scrolls it will change the location at which this Container is rendered on-screen.
It does not change the Containers actual position values.</p>
<p>For a Container, setting this value will only update the Container itself, not its children.
If you wish to change the scrollFactor of the children as well, use the <code>setScrollFactor</code> method.</p>
<p>A value of 1 means it will move exactly in sync with a camera.
A value of 0 means it will not move at all, even if the camera moves.
Other values control the degree to which the camera movement is mapped to this Container.</p>
<p>Please be aware that scroll factor values other than 1 are not taken in to consideration when
calculating physics collisions. Bodies always collide based on their world position, but changing
the scroll factor is a visual adjustment to where the textures are rendered, which can offset
them from physics bodies if not accounted for in your code.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#scrollFactorY">scrollFactorY</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16681</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="state" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>state</span><a href="#state" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">state</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The current state of this Game Object.</p>
<p>Phaser itself will never modify this value, although plugins may do so.</p>
<p>Use this property to track the state of a Game Object during its lifetime. For example, it could change from
2024-07-28 00:48:18 +01:00
a state of 'moving', to 'attacking', to 'dead'. The state value should be an integer (ideally mapped to a constant
2024-05-31 14:57:14 +01:00
in your game code), or a string. These are recommended to keep it light and simple, with fast comparisons.
If you need to store complex data about your Game Object, look at using the Data Component instead.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#state">state</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19581</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="tabIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>tab<wbr/>Index</span><a href="#tabIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tab<wbr/>Index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The Tab Index of the Game Object.
Reserved for future use by plugins and the Input Manager.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#tabIndex">tabIndex</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19605</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="type" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>A textual representation of this Game Object, i.e. <code>sprite</code>.
Used internally by Phaser but is available for your own custom classes to populate.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#type">type</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19569</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="visible" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>visible</span><a href="#visible" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">visible</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>The visible state of the Game Object.</p>
<p>An invisible Game Object will skip rendering, but will still process update logic.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#visible">visible</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17634</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="w" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>w</span><a href="#w" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">w</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The w position of this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#w">w</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17476</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="width" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>width</span><a href="#width" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The native (un-scaled) width of this Game Object.</p>
<p>Changing this value will not change the size that the Game Object is rendered in-game.
For that you need to either set the scale of the Game Object (<code>setScale</code>) or use
the <code>displayWidth</code> property.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#width">width</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17167</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="x" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>x</span><a href="#x" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">x</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The x position of this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#x">x</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17458</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="y" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>y</span><a href="#y" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">y</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The y position of this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#y">y</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17463</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="z" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>z</span><a href="#z" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">z</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The z position of this Game Object.</p>
<p>Note: The z position does not control the rendering order of 2D Game Objects. Use
Phaser.GameObjects.Components.Depth#depth instead.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#z">z</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17471</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="EXP_GAINS_DURATION_BASE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code> <code class="tsd-tag">Readonly</code><span>EXP_<wbr/>GAINS_<wbr/>DURATION_<wbr/>BASE</span><a href="#EXP_GAINS_DURATION_BASE" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">EXP_<wbr/>GAINS_<wbr/>DURATION_<wbr/>BASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1650</span><span class="tsd-signature-symbol"> = 1650</span></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#EXP_GAINS_DURATION_BASE">EXP_GAINS_DURATION_BASE</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L18">src/ui/battle-info.ts:18</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="RENDER_MASK" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code> <code class="tsd-tag">Readonly</code><span>RENDER_<wbr/>MASK</span><a href="#RENDER_MASK" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">RENDER_<wbr/>MASK</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The bitmask that <code>GameObject.renderFlags</code> is compared against to determine if the Game Object will render or not.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#RENDER_MASK">RENDER_MASK</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19949</li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="add" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add</span><a href="#add" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="add.add-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#add.add-1.T">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#add.add-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds the given Game Object, or array of Game Objects, to this Container.</p>
2024-05-31 14:57:14 +01:00
<p>Each Game Object must be unique within the Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="add.add-1.T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#add.add-1.T">T</a><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#add.add-1.T">T</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The Game Object, or array of Game Objects, to add to the Container.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#add">add</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16760</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addAt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>At</span><a href="#addAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addAt.addAt-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>At</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#addAt.addAt-1.T-1">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span>, <span class="tsd-kind-parameter">index</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#addAt.addAt-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds the given Game Object, or array of Game Objects, to this Container at the specified position.</p>
<p>Existing Game Objects in the Container are shifted up.</p>
<p>Each Game Object must be unique within the Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="addAt.addAt-1.T-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#addAt.addAt-1.T-1">T</a><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#addAt.addAt-1.T-1">T</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The Game Object, or array of Game Objects, to add to the Container.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The position to insert the Game Object/s at. Default 0.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#addAt">addAt</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16771</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Listener</span><a href="#addListener" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addListener.addListener-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#addListener.addListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add a listener for a given event.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The listener function.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The context to invoke the listener with. Default this.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#addListener">addListener</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9951</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addToDisplayList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>To<wbr/>Display<wbr/>List</span><a href="#addToDisplayList" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addToDisplayList.addToDisplayList-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>To<wbr/>Display<wbr/>List</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">displayList</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#addToDisplayList.addToDisplayList-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds this Game Object to the given Display List.</p>
<p>If no Display List is specified, it will default to the Display List owned by the Scene to which
this Game Object belongs.</p>
<p>A Game Object can only exist on one Display List at any given time, but may move freely between them.</p>
<p>If this Game Object is already on another Display List when this method is called, it will first
be removed from it, before being added to the new list.</p>
<p>You can query which list it is on by looking at the <code>Phaser.GameObjects.GameObject#displayList</code> property.</p>
2024-07-28 00:48:18 +01:00
<p>If a Game Object isn't on any display list, it will not be rendered. If you just wish to temporarly
2024-05-31 14:57:14 +01:00
disable it from rendering, consider using the <code>setVisible</code> method, instead.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">displayList</span>: <span class="tsd-signature-type">Layer</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">DisplayList</span></span><div class="tsd-comment tsd-typography"><p>The Display List to add to. Defaults to the Scene Display List.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#addToDisplayList">addToDisplayList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19891</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addToUpdateList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>To<wbr/>Update<wbr/>List</span><a href="#addToUpdateList" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addToUpdateList.addToUpdateList-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>To<wbr/>Update<wbr/>List</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#addToUpdateList.addToUpdateList-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds this Game Object to the Update List belonging to the Scene.</p>
<p>When a Game Object is added to the Update List it will have its <code>preUpdate</code> method called
every game frame. This method is passed two parameters: <code>delta</code> and <code>time</code>.</p>
<p>If you wish to run your own logic within <code>preUpdate</code> then you should always call
<code>super.preUpdate(delta, time)</code> within it, or it may fail to process required operations,
such as Sprite animations.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#addToUpdateList">addToUpdateList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19903</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addedToScene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>added<wbr/>To<wbr/>Scene</span><a href="#addedToScene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addedToScene.addedToScene-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">added<wbr/>To<wbr/>Scene</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addedToScene.addedToScene-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>This callback is invoked when this Game Object is added to a Scene.</p>
<p>Can be overriden by custom Game Objects, but be aware of some Game Objects that
will use this, such as Sprites, to add themselves into the Update List.</p>
<p>You can also listen for the <code>ADDED_TO_SCENE</code> event from this Game Object.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#addedToScene">addedToScene</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19834</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="bringToTop" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>bring<wbr/>To<wbr/>Top</span><a href="#bringToTop" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="bringToTop.bringToTop-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">bring<wbr/>To<wbr/>Top</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#bringToTop.bringToTop-1.T-2">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#bringToTop.bringToTop-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Brings the given Game Object to the top of this Container.
This will cause it to render on-top of any other objects in the Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="bringToTop.bringToTop-1.T-2" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#bringToTop.bringToTop-1.T-2">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to bring to the top of the Container.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#bringToTop">bringToTop</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16939</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="clearAlpha" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Alpha</span><a href="#clearAlpha" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="clearAlpha.clearAlpha-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Alpha</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#clearAlpha.clearAlpha-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Clears all alpha values associated with this Game Object.</p>
<p>Immediately sets the alpha levels back to 1 (fully opaque).</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#clearAlpha">clearAlpha</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17095</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="clearFX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clearFX</span><a href="#clearFX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="clearFX.clearFX-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clearFX</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#clearFX.clearFX-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes all Pre and Post FX Controllers from this Game Object.</p>
<p>If you wish to remove a single controller, use the <code>preFX.remove(fx)</code> or <code>postFX.remove(fx)</code> methods instead.</p>
<p>If you wish to clear a single controller, use the <code>preFX.clear()</code> or <code>postFX.clear()</code> methods instead.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#clearFX">clearFX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17448</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="clearMask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Mask</span><a href="#clearMask" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="clearMask.clearMask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Mask</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">destroyMask</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#clearMask.clearMask-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Clears the mask that this Game Object was using.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">destroyMask</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Destroy the mask before clearing it? Default false.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#clearMask">clearMask</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17273</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="copyPosition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>copy<wbr/>Position</span><a href="#copyPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="copyPosition.copyPosition-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">copy<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#copyPosition.copyPosition-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Copies an object's coordinates to this Game Object's position.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">Vector2Like</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Vector3Like</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Vector4Like</span></span><div class="tsd-comment tsd-typography"><p>An object with numeric 'x', 'y', 'z', or 'w' properties. Undefined values are not copied.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#copyPosition">copyPosition</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17530</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="count" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>count</span><a href="#count" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="count.count-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">property</span>, <span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">endIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#count.count-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the total number of Game Objects in this Container that have a property
matching the given value.</p>
2024-07-28 00:48:18 +01:00
<p>For example: <code>count('visible', true)</code> would count all the elements that have their visible property set.</p>
2024-05-31 14:57:14 +01:00
<p>You can optionally limit the operation to the <code>startIndex</code> - <code>endIndex</code> range.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">property</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The property to check.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The value to check.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index to search from. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">endIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional end index to search up to (but not included) Default Container.length.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#count">count</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16856</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="createBitmapMask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>create<wbr/>Bitmap<wbr/>Mask</span><a href="#createBitmapMask" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="createBitmapMask.createBitmapMask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">create<wbr/>Bitmap<wbr/>Mask</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#createBitmapMask.createBitmapMask-1.G">G</a><span class="tsd-signature-symbol">, </span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#createBitmapMask.createBitmapMask-1.T-3">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">maskObject</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">texture</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">frame</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BitmapMask</span><a href="#createBitmapMask.createBitmapMask-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Creates and returns a Bitmap Mask. This mask can be used by any Game Object,
including this one, or a Dynamic Texture.</p>
<p>Note: Bitmap Masks only work on WebGL. Geometry Masks work on both WebGL and Canvas.</p>
<p>To create the mask you need to pass in a reference to a renderable Game Object.
A renderable Game Object is one that uses a texture to render with, such as an
Image, Sprite, Render Texture or BitmapText.</p>
<p>If you do not provide a renderable object, and this Game Object has a texture,
it will use itself as the object. This means you can call this method to create
a Bitmap Mask from any renderable texture-based Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="createBitmapMask.createBitmapMask-1.G" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">G</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li><li><span><a id="createBitmapMask.createBitmapMask-1.T-3" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">DynamicTexture</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">maskObject</span>: <span class="tsd-signature-type">GameObject</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">DynamicTexture</span></span><div class="tsd-comment tsd-typography"><p>The Game Object or Dynamic Texture that will be used as the mask. If <code>null</code> it will generate an Image Game Object using the rest of the arguments.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>If creating a Game Object, the horizontal position in the world.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>If creating a Game Object, the vertical position in the world.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">texture</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Texture</span></span><div class="tsd-comment tsd-typography"><p>If creating a Game Object, the key, or instance of the Texture it will use to render with, as stored in the Texture Manager.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">frame</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Frame</span></span><div class="tsd-comment tsd-typography"><p>If creating a Game Object, an optional frame from the Texture this Game Object is rendering with.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">BitmapMask</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#createBitmapMask">createBitmapMask</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17294</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="createGeometryMask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>create<wbr/>Geometry<wbr/>Mask</span><a href="#createGeometryMask" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="createGeometryMask.createGeometryMask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">create<wbr/>Geometry<wbr/>Mask</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#createGeometryMask.createGeometryMask-1.G-1">G</a><span class="tsd-signature-symbol">, </span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#createGeometryMask.createGeometryMask-1.S">S</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">graphics</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">GeometryMask</span><a href="#createGeometryMask.createGeometryMask-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Creates and returns a Geometry Mask. This mask can be used by any Game Object,
including this one.</p>
<p>To create the mask you need to pass in a reference to a Graphics Game Object.</p>
<p>If you do not provide a graphics object, and this Game Object is an instance
of a Graphics object, then it will use itself to create the mask.</p>
<p>This means you can call this method to create a Geometry Mask from any Graphics Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="createGeometryMask.createGeometryMask-1.G-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">G</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">Graphics</span></span></li><li><span><a id="createGeometryMask.createGeometryMask-1.S" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">S</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">Shape</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">graphics</span>: <span class="tsd-signature-type">Graphics</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Shape</span></span><div class="tsd-comment tsd-typography"><p>A Graphics Game Object, or any kind of Shape Game Object. The geometry within it will be used as the mask.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">GeometryMask</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#createGeometryMask">createGeometryMask</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17308</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="destroy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>destroy</span><a href="#destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="destroy.destroy-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">destroy</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fromScene</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#destroy.destroy-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Destroys this Game Object removing it from the Display List and Update List and
severing all ties to parent resources.</p>
<p>Also removes itself from the Input Manager and Physics Manager if previously enabled.</p>
2024-07-28 00:48:18 +01:00
<p>Use this to remove a Game Object from your game if you don't ever plan to use it again.
2024-05-31 14:57:14 +01:00
As long as no reference to it exists within your own code it should become free for
garbage collection by the browser.</p>
<p>If you just want to temporarily disable an object then look at using the
Game Object Pool instead of destroying it, as destroyed objects cannot be resurrected.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">fromScene</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p><code>True</code> if this Game Object is being destroyed by the Scene, <code>false</code> if not. Default false.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#destroy">destroy</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19944</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="disableInteractive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disable<wbr/>Interactive</span><a href="#disableInteractive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="disableInteractive.disableInteractive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">disable<wbr/>Interactive</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#disableInteractive.disableInteractive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>If this Game Object has previously been enabled for input, this will disable it.</p>
<p>An object that is disabled for input stops processing or being considered for
input events, but can be turned back on again at any time by simply calling
<code>setInteractive()</code> with no arguments provided.</p>
<p>If want to completely remove interaction from this Game Object then use <code>removeInteractive</code> instead.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#disableInteractive">disableInteractive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19802</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="each" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>each</span><a href="#each" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="each.each-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">each</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#each.each-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Passes all Game Objects in this Container to the given callback.</p>
<p>A copy of the Container is made before passing each entry to your callback.
This protects against the callback itself modifying the Container.</p>
<p>If you know for sure that the callback will not change the size of this Container
then you can use the more performant <code>Container.iterate</code> method instead.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The function to call.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">object</span></span><div class="tsd-comment tsd-typography"><p>Value to use as <code>this</code> when executing callback.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Additional arguments that will be passed to the callback, after the child.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#each">each</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17012</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="emit.emit-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">emit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#emit.emit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Calls each of the listeners registered for a given event.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Additional arguments that will be passed to the event handler.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#emit">emit</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9935</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="eventNames" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>event<wbr/>Names</span><a href="#eventNames" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="eventNames.eventNames-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">event<wbr/>Names</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><a href="#eventNames.eventNames-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Return an array listing the events for which the emitter has registered listeners.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#eventNames">eventNames</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9916</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="exists" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>exists</span><a href="#exists" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="exists.exists-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">exists</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#exists.exists-1.T-4">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#exists.exists-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns <code>true</code> if the given Game Object is a direct child of this Container.</p>
<p>This check does not scan nested Containers.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="exists.exists-1.T-4" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#exists.exists-1.T-4">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to check for within this Container.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#exists">exists</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16985</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getAll" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>All</span><a href="#getAll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getAll.getAll-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>All</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#getAll.getAll-1.T-5">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">property</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">endIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getAll.getAll-1.T-5">T</a><span class="tsd-signature-symbol">[]</span><a href="#getAll.getAll-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns all Game Objects in this Container.</p>
<p>You can optionally specify a matching criteria using the <code>property</code> and <code>value</code> arguments.</p>
2024-07-28 00:48:18 +01:00
<p>For example: <code>getAll('body')</code> would return only Game Objects that have a body property.</p>
2024-05-31 14:57:14 +01:00
<p>You can also specify a value to compare the property to:</p>
2024-07-28 00:48:18 +01:00
<p><code>getAll('visible', true)</code> would return only Game Objects that have their visible property set to <code>true</code>.</p>
2024-05-31 14:57:14 +01:00
<p>Optionally you can specify a start and end index. For example if this Container had 100 Game Objects,
and you set <code>startIndex</code> to 0 and <code>endIndex</code> to 50, it would return matches from only
the first 50 Game Objects.</p>
2024-07-28 00:48:18 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getAll.getAll-1.T-5" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">property</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The property to test on each Game Object in the Container.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>If property is set then the <code>property</code> must strictly equal this value to be included in the results.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index to search from. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">endIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional end index to search up to (but not included) Default Container.length.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getAll.getAll-1.T-5">T</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getAll">getAll</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16842</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getAt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>At</span><a href="#getAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getAt.getAt-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>At</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#getAt.getAt-1.T-6">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getAt.getAt-1.T-6">T</a><a href="#getAt.getAt-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the Game Object at the given position in this Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getAt.getAt-1.T-6" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The position to get the Game Object from.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getAt.getAt-1.T-6">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getAt">getAt</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16777</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getBaseY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>BaseY</span><a href="#getBaseY" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getBaseY.getBaseY-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>BaseY</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getBaseY.getBaseY-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getBaseY">getBaseY</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L810">src/ui/battle-info.ts:810</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getBounds" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Bounds</span><a href="#getBounds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getBounds.getBounds-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Bounds</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">output</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Rectangle</span><a href="#getBounds.getBounds-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the bounds of this Container. It works by iterating all children of the Container,
2024-05-31 14:57:14 +01:00
getting their respective bounds, and then working out a min-max rectangle from that.
It does not factor in if the children render or not, all are included.</p>
<p>Some children are unable to return their bounds, such as Graphics objects, in which case
they are skipped.</p>
<p>Depending on the quantity of children in this Container it could be a really expensive call,
so cache it and only poll it as needed.</p>
<p>The values are stored and returned in a Rectangle object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">output</span>: <span class="tsd-signature-type">Rectangle</span></span><div class="tsd-comment tsd-typography"><p>A Geom.Rectangle object to store the values in. If not provided a new Rectangle will be created.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Rectangle</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getBounds">getBounds</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16737</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getBoundsTransformMatrix" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Bounds<wbr/>Transform<wbr/>Matrix</span><a href="#getBoundsTransformMatrix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getBoundsTransformMatrix.getBoundsTransformMatrix-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Bounds<wbr/>Transform<wbr/>Matrix</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TransformMatrix</span><a href="#getBoundsTransformMatrix.getBoundsTransformMatrix-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the world transform matrix as used for Bounds checks.</p>
2024-07-28 00:48:18 +01:00
<p>The returned matrix is temporal and shouldn't be stored.</p>
2024-05-31 14:57:14 +01:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">TransformMatrix</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getBoundsTransformMatrix">getBoundsTransformMatrix</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16752</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getByName" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>By<wbr/>Name</span><a href="#getByName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getByName.getByName-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>By<wbr/>Name</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#getByName.getByName-1.T-7">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getByName.getByName-1.T-7">T</a><a href="#getByName.getByName-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Searches for the first instance of a child with its <code>name</code> property matching the given argument.
Should more than one child have the same name only the first is returned.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getByName.getByName-1.T-7" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name to search for.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getByName.getByName-1.T-7">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getByName">getByName</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16798</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Data</span><a href="#getData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getData.getData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#getData.getData-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Retrieves the value for the given key in this Game Objects Data Manager, or undefined if it doesn't exist.</p>
2024-05-31 14:57:14 +01:00
<p>You can also access values via the <code>values</code> object. For example, if you had a key called <code>gold</code> you can do either:</p>
2024-07-28 00:48:18 +01:00
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-6">getData</span><span class="hl-1">(</span><span class="hl-7">&#39;gold&#39;</span><span class="hl-1">);</span>
</code><button type="button">Copy</button></pre>
2024-05-31 14:57:14 +01:00
<p>Or access the value directly:</p>
2024-07-28 00:48:18 +01:00
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-2">data</span><span class="hl-1">.</span><span class="hl-2">values</span><span class="hl-1">.</span><span class="hl-2">gold</span><span class="hl-1">;</span>
</code><button type="button">Copy</button></pre>
2024-05-31 14:57:14 +01:00
<p>You can also pass in an array of keys, in which case an array of values will be returned:</p>
2024-07-28 00:48:18 +01:00
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-6">getData</span><span class="hl-1">([ </span><span class="hl-7">&#39;gold&#39;</span><span class="hl-1">, </span><span class="hl-7">&#39;armor&#39;</span><span class="hl-1">, </span><span class="hl-7">&#39;health&#39;</span><span class="hl-1"> ]);</span>
</code><button type="button">Copy</button></pre>
2024-05-31 14:57:14 +01:00
<p>This approach is useful for destructuring arrays in ES6.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The key of the value to retrieve, or an array of keys.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getData">getData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19773</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getFirst" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>First</span><a href="#getFirst" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getFirst.getFirst-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>First</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#getFirst.getFirst-1.T-8">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">property</span>, <span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">endIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getFirst.getFirst-1.T-8">T</a><a href="#getFirst.getFirst-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the first Game Object in this Container.</p>
<p>You can also specify a property and value to search for, in which case it will return the first
Game Object in this Container with a matching property and / or value.</p>
2024-07-28 00:48:18 +01:00
<p>For example: <code>getFirst('visible', true)</code> would return the first Game Object that had its <code>visible</code> property set.</p>
2024-05-31 14:57:14 +01:00
<p>You can limit the search to the <code>startIndex</code> - <code>endIndex</code> range.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getFirst.getFirst-1.T-8" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">property</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The property to test on each Game Object in the Container.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The value to test the property against. Must pass a strict (<code>===</code>) comparison check.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index to search from. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">endIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional end index to search up to (but not included) Default Container.length.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getFirst.getFirst-1.T-8">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getFirst">getFirst</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16821</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Index</span><a href="#getIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getIndex.getIndex-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Index</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#getIndex.getIndex-1.T-9">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getIndex.getIndex-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the index of the given Game Object in this Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getIndex.getIndex-1.T-9" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getIndex.getIndex-1.T-9">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to search for in this Container.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getIndex">getIndex</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16783</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getIndexList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Index<wbr/>List</span><a href="#getIndexList" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getIndexList.getIndexList-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Index<wbr/>List</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getIndexList.getIndexList-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns an array containing the display list index of either this Game Object, or if it has one,
its parent Container. It then iterates up through all of the parent containers until it hits the
root of the display list (which is index 0 in the returned array).</p>
<p>Used internally by the InputPlugin but also useful if you wish to find out the display depth of
this Game Object and all of its ancestors.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getIndexList">getIndexList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19872</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getLocalPoint" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Local<wbr/>Point</span><a href="#getLocalPoint" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getLocalPoint.getLocalPoint-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Local<wbr/>Point</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span>, <span class="tsd-kind-parameter">y</span>, <span class="tsd-kind-parameter">point</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">camera</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><a href="#getLocalPoint.getLocalPoint-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Takes the given <code>x</code> and <code>y</code> coordinates and converts them into local space for this
Game Object, taking into account parent and local transforms, and the Display Origin.</p>
<p>The returned Vector2 contains the translated point in its properties.</p>
<p>A Camera needs to be provided in order to handle modified scroll factors. If no
camera is specified, it will use the <code>main</code> camera from the Scene to which this
Game Object belongs.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The x position to translate.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The y position to translate.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">point</span>: <span class="tsd-signature-type">Vector2</span></span><div class="tsd-comment tsd-typography"><p>A Vector2, or point-like object, to store the results in.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">camera</span>: <span class="tsd-signature-type">Camera</span></span><div class="tsd-comment tsd-typography"><p>The Camera which is being tested against. If not given will use the Scene default camera.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getLocalPoint">getLocalPoint</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17620</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getLocalTransformMatrix" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Local<wbr/>Transform<wbr/>Matrix</span><a href="#getLocalTransformMatrix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getLocalTransformMatrix.getLocalTransformMatrix-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Local<wbr/>Transform<wbr/>Matrix</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tempMatrix</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TransformMatrix</span><a href="#getLocalTransformMatrix.getLocalTransformMatrix-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the local transform matrix for this Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">tempMatrix</span>: <span class="tsd-signature-type">TransformMatrix</span></span><div class="tsd-comment tsd-typography"><p>The matrix to populate with the values from this Game Object.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">TransformMatrix</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getLocalTransformMatrix">getLocalTransformMatrix</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17597</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getParentRotation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Parent<wbr/>Rotation</span><a href="#getParentRotation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getParentRotation.getParentRotation-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Parent<wbr/>Rotation</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getParentRotation.getParentRotation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the sum total rotation of all of this Game Objects parent Containers.</p>
<p>The returned value is in radians and will be zero if this Game Object has no parent container.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getParentRotation">getParentRotation</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17627</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getPostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Post<wbr/>Pipeline</span><a href="#getPostPipeline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getPostPipeline.getPostPipeline-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pipeline</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol">[]</span><a href="#getPostPipeline.getPostPipeline-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets a Post Pipeline instance from this Game Object, based on the given name, and returns it.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pipeline</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PostFXPipeline</span></span><div class="tsd-comment tsd-typography"><p>The string-based name of the pipeline, or a pipeline class.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getPostPipeline">getPostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17424</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getRandom" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Random</span><a href="#getRandom" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getRandom.getRandom-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Random</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#getRandom.getRandom-1.T-10">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">length</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getRandom.getRandom-1.T-10">T</a><a href="#getRandom.getRandom-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns a random Game Object from this Container.</p>
2024-07-28 00:48:18 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getRandom.getRandom-1.T-10" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">length</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional length, the total number of elements (from the startIndex) to choose from.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getRandom.getRandom-1.T-10">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getRandom">getRandom</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16805</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getStatsValueContainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Stats<wbr/>Value<wbr/>Container</span><a href="#getStatsValueContainer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getStatsValueContainer.getStatsValueContainer-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Stats<wbr/>Value<wbr/>Container</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Container</span><a href="#getStatsValueContainer.getStatsValueContainer-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Container</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getStatsValueContainer">getStatsValueContainer</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L307">src/ui/battle-info.ts:307</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getTextureName" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Texture<wbr/>Name</span><a href="#getTextureName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getTextureName.getTextureName-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Texture<wbr/>Name</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getTextureName.getTextureName-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getTextureName">getTextureName</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L437">src/ui/battle-info.ts:437</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getWorldTransformMatrix" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>World<wbr/>Transform<wbr/>Matrix</span><a href="#getWorldTransformMatrix" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getWorldTransformMatrix.getWorldTransformMatrix-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>World<wbr/>Transform<wbr/>Matrix</sp
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">tempMatrix</span>: <span class="tsd-signature-type">TransformMatrix</span></span><div class="tsd-comment tsd-typography"><p>The matrix to populate with the values from this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">parentMatrix</span>: <span class="tsd-signature-type">TransformMatrix</span></span><div class="tsd-comment tsd-typography"><p>A temporary matrix to hold parent values during the calculations.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">TransformMatrix</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#getWorldTransformMatrix">getWorldTransformMatrix</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17604</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="incData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>inc<wbr/>Data</span><a href="#incData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="incData.incData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">inc<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span>, <span class="tsd-kind-parameter">amount</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#incData.incData-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Increase a value for the given key within this Game Objects Data Manager. If the key doesn't already exist in the Data Manager then it is increased from 0.</p>
2024-05-31 14:57:14 +01:00
<p>If the Game Object has not been enabled for data (via <code>setDataEnabled</code>) then it will be enabled
before setting the value.</p>
2024-07-28 00:48:18 +01:00
<p>If the key doesn't already exist in the Data Manager then it is created.</p>
2024-05-31 14:57:14 +01:00
<p>When the value is first set, a <code>setdata</code> event is emitted from this Game Object.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The key to change the value for.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">amount</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The amount to increase the given key by. Pass a negative value to decrease the key. Default 1.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#incData">incData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19734</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="initInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>Info</span><a href="#initInfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="initInfo.initInfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Info</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#initInfo.initInfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pokemon</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#initInfo">initInfo</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L311">src/ui/battle-info.ts:311</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="initPostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>Post<wbr/>Pipeline</span><a href="#initPostPipeline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="initPostPipeline.initPostPipeline-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">preFX</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#initPostPipeline.initPostPipeline-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>This should only be called during the instantiation of the Game Object.</p>
2024-07-28 00:48:18 +01:00
<p>It is called by default by all core Game Objects and doesn't need
2024-05-31 14:57:14 +01:00
calling again.</p>
<p>After that, use <code>setPostPipeline</code>.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">preFX</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Does this Game Object support Pre FX? Default false.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#initPostPipeline">initPostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17386</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="iterate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>iterate</span><a href="#iterate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="iterate.iterate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">iterate</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#iterate.iterate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Passes all Game Objects in this Container to the given callback.</p>
<p>Only use this method when you absolutely know that the Container will not be modified during
the iteration, i.e. by removing or adding to its contents.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The function to call.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">object</span></span><div class="tsd-comment tsd-typography"><p>Value to use as <code>this</code> when executing callback.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Additional arguments that will be passed to the callback, after the child.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#iterate">iterate</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17023</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listenerCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="listenerCount.listenerCount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">listener<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#listenerCount.listenerCount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Return the number of listeners listening to a given event.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#listenerCount">listenerCount</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9928</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listeners" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>listeners</span><a href="#listeners" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="listeners.listeners-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span><a href="#listeners.listeners-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Return the listeners registered for a given event.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#listeners">listeners</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9922</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moveAbove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>Above</span><a href="#moveAbove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="moveAbove.moveAbove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>Above</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#moveAbove.moveAbove-1.T-11">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child1</span>, <span class="tsd-kind-parameter">child2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveAbove.moveAbove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Moves a Game Object above another one within this Container.</p>
<p>These 2 Game Objects must already be children of this Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="moveAbove.moveAbove-1.T-11" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child1</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveAbove.moveAbove-1.T-11">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to move above base Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">child2</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveAbove.moveAbove-1.T-11">T</a></span><div class="tsd-comment tsd-typography"><p>The base Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#moveAbove">moveAbove</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16885</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moveBelow" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>Below</span><a href="#moveBelow" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="moveBelow.moveBelow-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>Below</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#moveBelow.moveBelow-1.T-12">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child1</span>, <span class="tsd-kind-parameter">child2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveBelow.moveBelow-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Moves a Game Object below another one within this Container.</p>
<p>These 2 Game Objects must already be children of this Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="moveBelow.moveBelow-1.T-12" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child1</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveBelow.moveBelow-1.T-12">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to move below base Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">child2</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveBelow.moveBelow-1.T-12">T</a></span><div class="tsd-comment tsd-typography"><p>The base Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#moveBelow">moveBelow</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16894</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moveDown" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>Down</span><a href="#moveDown" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="moveDown.moveDown-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>Down</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#moveDown.moveDown-1.T-13">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveDown.moveDown-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Moves the given Game Object down one place in this Container, unless it's already at the bottom.</p>
2024-05-31 14:57:14 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="moveDown.moveDown-1.T-13" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveDown.moveDown-1.T-13">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to be moved in the Container.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#moveDown">moveDown</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16958</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moveTo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>To</span><a href="#moveTo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="moveTo.moveTo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>To</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#moveTo.moveTo-1.T-14">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span>, <span class="tsd-kind-parameter">index</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveTo.moveTo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Moves a Game Object to a new position within this Container.</p>
<p>The Game Object must already be a child of this Container.</p>
<p>The Game Object is removed from its old position and inserted into the new one.
Therefore the Container size does not change. Other children will change position accordingly.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="moveTo.moveTo-1.T-14" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveTo.moveTo-1.T-14">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to move.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The new position of the Game Object in this Container.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#moveTo">moveTo</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16876</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moveUp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>Up</span><a href="#moveUp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="moveUp.moveUp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>Up</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#moveUp.moveUp-1.T-15">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveUp.moveUp-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Moves the given Game Object up one place in this Container, unless it's already at the top.</p>
2024-05-31 14:57:14 +01:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="moveUp.moveUp-1.T-15" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveUp.moveUp-1.T-15">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to be moved in the Container.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#moveUp">moveUp</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16952</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="off" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="off.off-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">off</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">once</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#off.off-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remove the listeners of a given event.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>Only remove the listeners that match this function.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>Only remove the listeners that have this context.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">once</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Only remove one-time listeners.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#off">off</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9977</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="on" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>on</span><a href="#on" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="on.on-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">on</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#on.on-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add a listener for a given event.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The listener function.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The context to invoke the listener with. Default this.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#on">on</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9943</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited tsd-is-external"><a id="onChildDestroyed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>on<wbr/>Child<wbr/>Destroyed</span><a href="#onChildDestroyed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="onChildDestroyed.onChildDestroyed-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">on<wbr/>Child<wbr/>Destroyed</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#onChildDestroyed.onChildDestroyed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Internal handler, called when a child is destroyed.</p>
2024-05-31 14:57:14 +01:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#onChildDestroyed">onChildDestroyed</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17088</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="once" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>once</span><a href="#once" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="once.once-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">once</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#once.once-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add a one-time listener for a given event.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The listener function.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The context to invoke the listener with. Default this.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#once">once</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9959</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="pointToContainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>point<wbr/>To<wbr/>Container</span><a href="#pointToContainer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="pointToContainer.pointToContainer-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">point<wbr/>To<wbr/>Container</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span>, <span class="tsd-kind-parameter">output</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2Like</span><a href="#pointToContainer.pointToContainer-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Takes a Point-like object, such as a Vector2, Geom.Point or object with public x and y properties,
and transforms it into the space of this Container, then returns it in the output object.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">Vector2Like</span></span><div class="tsd-comment tsd-typography"><p>The Source Point to be transformed.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">output</span>: <span class="tsd-signature-type">Vector2Like</span></span><div class="tsd-comment tsd-typography"><p>A destination object to store the transformed point in. If none given a Vector2 will be created and returned.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2Like</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#pointToContainer">pointToContainer</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16745</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited tsd-is-external"><a id="preDestroy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>pre<wbr/>Destroy</span><a href="#preDestroy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="preDestroy.preDestroy-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">pre<wbr/>Destroy</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#preDestroy.preDestroy-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Internal destroy handler, called as part of the destroy process.</p>
2024-05-31 14:57:14 +01:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#preDestroy">preDestroy</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17083</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="remove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="remove.remove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#remove.remove-1.T-16">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span>, <span class="tsd-kind-parameter">destroyChild</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#remove.remove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes the given Game Object, or array of Game Objects, from this Container.</p>
<p>The Game Objects must already be children of this Container.</p>
<p>You can also optionally call <code>destroy</code> on each Game Object that is removed from the Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="remove.remove-1.T-16" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#remove.remove-1.T-16">T</a><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#remove.remove-1.T-16">T</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The Game Object, or array of Game Objects, to be removed from the Container.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">destroyChild</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Optionally call <code>destroy</code> on each child successfully removed from this Container. Default false.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#remove">remove</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16905</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeAll" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>All</span><a href="#removeAll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeAll.removeAll-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>All</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">destroyChild</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeAll.removeAll-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes all Game Objects from this Container.</p>
<p>You can also optionally call <code>destroy</code> on each Game Object that is removed from the Container.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">destroyChild</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Optionally call <code>destroy</code> on each Game Object successfully removed from this Container. Default false.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#removeAll">removeAll</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16932</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeAllListeners" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Listeners</span><a href="#removeAllListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeAllListeners.removeAllListeners-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>All<wbr/>Listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeAllListeners.removeAllListeners-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remove all listeners, or those of the specified event.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#removeAllListeners">removeAllListeners</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9983</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeAt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>At</span><a href="#removeAt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeAt.removeAt-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>At</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">destroyChild</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeAt.removeAt-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes the Game Object at the given position in this Container.</p>
<p>You can also optionally call <code>destroy</code> on the Game Object, if one is found.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The index of the Game Object to be removed.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">destroyChild</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Optionally call <code>destroy</code> on the Game Object if successfully removed from this Container. Default false.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#removeAt">removeAt</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16914</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeBetween" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Between</span><a href="#removeBetween" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeBetween.removeBetween-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Between</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">endIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">destroyChild</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeBetween.removeBetween-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes the Game Objects between the given positions in this Container.</p>
<p>You can also optionally call <code>destroy</code> on each Game Object that is removed from the Container.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index to search from. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">endIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional end index to search up to (but not included) Default Container.length.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">destroyChild</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Optionally call <code>destroy</code> on each Game Object successfully removed from this Container. Default false.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#removeBetween">removeBetween</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16924</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeFromDisplayList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>From<wbr/>Display<wbr/>List</span><a href="#removeFromDisplayList" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeFromDisplayList.removeFromDisplayList-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>From<wbr/>Display<wbr/>List</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeFromDisplayList.removeFromDisplayList-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes this Game Object from the Display List it is currently on.</p>
<p>A Game Object can only exist on one Display List at any given time, but may move freely removed
and added back at a later stage.</p>
<p>You can query which list it is on by looking at the <code>Phaser.GameObjects.GameObject#displayList</code> property.</p>
2024-07-28 00:48:18 +01:00
<p>If a Game Object isn't on any Display List, it will not be rendered. If you just wish to temporarly
2024-05-31 14:57:14 +01:00
disable it from rendering, consider using the <code>setVisible</code> method, instead.</p>
2024-07-28 00:48:18 +01:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#removeFromDisplayList">removeFromDisplayList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19916</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeFromUpdateList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>From<wbr/>Update<wbr/>List</span><a href="#removeFromUpdateList" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeFromUpdateList.removeFromUpdateList-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>From<wbr/>Update<wbr/>List</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeFromUpdateList.removeFromUpdateList-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes this Game Object from the Scene's Update List.</p>
2024-05-31 14:57:14 +01:00
<p>When a Game Object is on the Update List, it will have its <code>preUpdate</code> method called
every game frame. Calling this method will remove it from the list, preventing this.</p>
<p>Removing a Game Object from the Update List will stop most internal functions working.
For example, removing a Sprite from the Update List will prevent it from being able to
run animations.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#removeFromUpdateList">removeFromUpdateList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19928</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeInteractive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Interactive</span><a href="#removeInteractive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeInteractive.removeInteractive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Interactive</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeInteractive.removeInteractive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>If this Game Object has previously been enabled for input, this will queue it
for removal, causing it to no longer be interactive. The removal happens on
the next game step, it is not immediate.</p>
<p>The Interactive Object that was assigned to this Game Object will be destroyed,
removed from the Input Manager and cleared from this Game Object.</p>
<p>If you wish to re-enable this Game Object at a later date you will need to
re-create its InteractiveObject by calling <code>setInteractive</code> again.</p>
<p>If you wish to only temporarily stop an object from receiving input then use
<code>disableInteractive</code> instead, as that toggles the interactive state, where-as
this erases it completely.</p>
2024-07-28 00:48:18 +01:00
<p>If you wish to resize a hit area, don't remove and then set it as being
2024-05-31 14:57:14 +01:00
interactive. Instead, access the hitarea object directly and resize the shape
being used. I.e.: <code>sprite.input.hitArea.setSize(width, height)</code> (assuming the
shape is a Rectangle, which it is by default.)</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#removeInteractive">removeInteractive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19824</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Listener</span><a href="#removeListener" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeListener.removeListener-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">once</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeListener.removeListener-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remove the listeners of a given event.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>Only remove the listeners that match this function.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>Only remove the listeners that have this context.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">once</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Only remove one-time listeners.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#removeListener">removeListener</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9968</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removePostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Post<wbr/>Pipeline</span><a href="#removePostPipeline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removePostPipeline.removePostPipeline-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pipeline</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removePostPipeline.removePostPipeline-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes a type of Post Pipeline instances from this Game Object, based on the given name, and destroys them.</p>
<p>If you wish to remove all Post Pipelines use the <code>resetPostPipeline</code> method instead.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pipeline</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PostFXPipeline</span></span><div class="tsd-comment tsd-typography"><p>The string-based name of the pipeline, or a pipeline class.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#removePostPipeline">removePostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17439</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removedFromScene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>removed<wbr/>From<wbr/>Scene</span><a href="#removedFromScene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removedFromScene.removedFromScene-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">removed<wbr/>From<wbr/>Scene</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removedFromScene.removedFromScene-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>This callback is invoked when this Game Object is removed from a Scene.</p>
<p>Can be overriden by custom Game Objects, but be aware of some Game Objects that
will use this, such as Sprites, to removed themselves from the Update List.</p>
<p>You can also listen for the <code>REMOVED_FROM_SCENE</code> event from this Game Object.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#removedFromScene">removedFromScene</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19844</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="replace" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>replace</span><a href="#replace" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="replace.replace-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">replace</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#replace.replace-1.T-17">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">oldChild</span>, <span class="tsd-kind-parameter">newChild</span>, <span class="tsd-kind-parameter">destroyChild</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#replace.replace-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Replaces a Game Object in this Container with the new Game Object.
The new Game Object cannot already be a child of this Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="replace.replace-1.T-17" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">oldChild</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#replace.replace-1.T-17">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object in this Container that will be replaced.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">newChild</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#replace.replace-1.T-17">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to be added to this Container.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">destroyChild</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Optionally call <code>destroy</code> on the Game Object if successfully removed from this Container. Default false.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#replace">replace</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16977</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="resetPostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Post<wbr/>Pipeline</span><a href="#resetPostPipeline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="resetPostPipeline.resetPostPipeline-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">resetData</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetPostPipeline.resetPostPipeline-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Resets the WebGL Post Pipelines of this Game Object. It does this by calling
the <code>destroy</code> method on each post pipeline and then clearing the local array.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">resetData</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Reset the <code>postPipelineData</code> object to being an empty object? Default false.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#resetPostPipeline">resetPostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17431</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="resetY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>resetY</span><a href="#resetY" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="resetY.resetY-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">resetY</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetY.resetY-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#resetY">resetY</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L814">src/ui/battle-info.ts:814</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="reverse" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reverse</span><a href="#reverse" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="reverse.reverse-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reverse</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#reverse.reverse-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Reverses the order of all Game Objects in this Container.</p>
2024-05-31 14:57:14 +01:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#reverse">reverse</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16963</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="sendToBack" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>send<wbr/>To<wbr/>Back</span><a href="#sendToBack" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="sendToBack.sendToBack-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">send<wbr/>To<wbr/>Back</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#sendToBack.sendToBack-1.T-18">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#sendToBack.sendToBack-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sends the given Game Object to the bottom of this Container.
This will cause it to render below any other objects in the Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="sendToBack.sendToBack-1.T-18" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#sendToBack.sendToBack-1.T-18">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to send to the bottom of the Container.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#sendToBack">sendToBack</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16946</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setActive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Active</span><a href="#setActive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setActive.setActive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Active</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setActive.setActive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <code>active</code> property of this Game Object and returns this Game Object for further chaining.
A Game Object with its <code>active</code> property set to <code>true</code> will be updated by the Scenes UpdateList.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>True if this Game Object should be set as active, false if not.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setActive">setActive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19652</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setAll" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>All</span><a href="#setAll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setAll.setAll-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>All</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">property</span>, <span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">endIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setAll.setAll-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the property to the given value on all Game Objects in this Container.</p>
<p>Optionally you can specify a start and end index. For example if this Container had 100 Game Objects,
and you set <code>startIndex</code> to 0 and <code>endIndex</code> to 50, it would return matches from only
the first 50 Game Objects.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">property</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The property that must exist on the Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The value to get the property to.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index to search from. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">endIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional end index to search up to (but not included) Default Container.length.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setAll">setAll</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16998</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setAlpha" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Alpha</span><a href="#setAlpha" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setAlpha.setAlpha-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Alpha</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setAlpha.setAlpha-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set the Alpha level of this Game Object. The alpha controls the opacity of the Game Object as it renders.
Alpha values are provided as a float between 0, fully transparent, and 1, fully opaque.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The alpha value applied across the whole Game Object. Default 1.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setAlpha">setAlpha</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17102</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setAngle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Angle</span><a href="#setAngle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setAngle.setAngle-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Angle</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">degrees</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setAngle.setAngle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the angle of this Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">degrees</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The rotation of this Game Object, in degrees. Default 0.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setAngle">setAngle</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17557</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setBlendMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Blend<wbr/>Mode</span><a href="#setBlendMode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setBlendMode.setBlendMode-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Blend<wbr/>Mode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setBlendMode.setBlendMode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the Blend Mode being used by this Game Object.</p>
<p>This can be a const, such as <code>Phaser.BlendModes.SCREEN</code>, or an integer, such as 4 (for Overlay)</p>
<p>Under WebGL only the following Blend Modes are available:</p>
<ul>
<li>NORMAL</li>
<li>ADD</li>
<li>MULTIPLY</li>
<li>SCREEN</li>
<li>ERASE (only works when rendering to a framebuffer, like a Render Texture)</li>
</ul>
<p>Canvas has more available depending on browser support.</p>
<p>You can also create your own custom Blend Modes in WebGL.</p>
<p>Blend modes have different effects under Canvas and WebGL, and from browser to browser, depending
on support. Blend Modes also cause a WebGL batch flush should it encounter a new blend mode. For these
reasons try to be careful about the construction of your Scene and the frequency in which blend modes
are used.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">BlendModes</span></span><div class="tsd-comment tsd-typography"><p>The BlendMode value. Either a string, a CONST or a number.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setBlendMode">setBlendMode</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17158</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Data</span><a href="#setData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setData.setData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Data</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#setData.setData-1.T-19">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span>, <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setData.setData-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Allows you to store a key value pair within this Game Objects Data Manager.</p>
<p>If the Game Object has not been enabled for data (via <code>setDataEnabled</code>) then it will be enabled
before setting the value.</p>
2024-07-28 00:48:18 +01:00
<p>If the key doesn't already exist in the Data Manager then it is created.</p>
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-6">setData</span><span class="hl-1">(</span><span class="hl-7">&#39;name&#39;</span><span class="hl-1">, </span><span class="hl-7">&#39;Red Gem Stone&#39;</span><span class="hl-1">);</span>
</code><button type="button">Copy</button></pre>
2024-05-31 14:57:14 +01:00
<p>You can also pass in an object of key value pairs as the first argument:</p>
2024-07-28 00:48:18 +01:00
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-6">setData</span><span class="hl-1">({ </span><span class="hl-2">name:</span><span class="hl-1"> </span><span class="hl-7">&#39;Red Gem Stone&#39;</span><span class="hl-1">, </span><span class="hl-2">level:</span><span class="hl-1"> </span><span class="hl-0">2</span><span class="hl-1">, </span><span class="hl-2">owner:</span><span class="hl-1"> </span><span class="hl-7">&#39;Link&#39;</span><span class="hl-1">, </span><span class="hl-2">gold:</span><span class="hl-1"> </span><span class="hl-0">50</span><span class="hl-1"> });</span>
</code><button type="button">Copy</button></pre>
2024-05-31 14:57:14 +01:00
<p>To get a value back again you can call <code>getData</code>:</p>
2024-07-28 00:48:18 +01:00
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-6">getData</span><span class="hl-1">(</span><span class="hl-7">&#39;gold&#39;</span><span class="hl-1">);</span>
</code><button type="button">Copy</button></pre>
2024-05-31 14:57:14 +01:00
<p>Or you can access the value directly via the <code>values</code> property, where it works like any other variable:</p>
2024-07-28 00:48:18 +01:00
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-2">data</span><span class="hl-1">.</span><span class="hl-2">values</span><span class="hl-1">.</span><span class="hl-2">gold</span><span class="hl-1"> += </span><span class="hl-0">50</span><span class="hl-1">;</span>
</code><button type="button">Copy</button></pre>
2024-05-31 14:57:14 +01:00
<p>When the value is first set, a <code>setdata</code> event is emitted from this Game Object.</p>
<p>If the key already exists, a <code>changedata</code> event is emitted instead, along an event named after the key.
For example, if you updated an existing key called <code>PlayerLives</code> then it would emit the event <code>changedata-PlayerLives</code>.
These events will be emitted regardless if you use this method to set the value, or the direct <code>values</code> setter.</p>
<p>Please note that the data keys are case-sensitive and must be valid JavaScript Object property strings.
This means the keys <code>gold</code> and <code>Gold</code> are treated as two unique values within the Data Manager.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="setData.setData-1.T-19" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">unknown</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#setData.setData-1.T-19">T</a></span><div class="tsd-comment tsd-typography"><p>The key to set the value for. Or an object of key value pairs. If an object the <code>data</code> argument is ignored.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The value to set for the given key. If an object is provided as the key this argument is ignored.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setData">setData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19720</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setDataEnabled" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Data<wbr/>Enabled</span><a href="#setDataEnabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setDataEnabled.setDataEnabled-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Data<wbr/>Enabled</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setDataEnabled.setDataEnabled-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds a Data Manager component to this Game Object.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setDataEnabled">setDataEnabled</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19677</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setDepth" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Depth</span><a href="#setDepth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setDepth.setDepth-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Depth</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setDepth.setDepth-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>The depth of this Game Object within the Scene.</p>
2024-07-28 00:48:18 +01:00
<p>The depth is also known as the 'z-index' in some environments, and allows you to change the rendering order
2024-05-31 14:57:14 +01:00
of Game Objects, without actually moving their position in the display list.</p>
<p>The default depth is zero. A Game Object with a higher depth
value will always render in front of one with a lower value.</p>
<p>Setting the depth will queue a depth sort event within the Scene.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The depth of this Game Object. Ensure this value is only ever a number data-type.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setDepth">setDepth</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17245</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setDisplaySize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Display<wbr/>Size</span><a href="#setDisplaySize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setDisplaySize.setDisplaySize-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Display<wbr/>Size</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">width</span>, <span class="tsd-kind-parameter">height</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setDisplaySize.setDisplaySize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the display size of this Game Object.</p>
<p>Calling this will adjust the scale.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The width of this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The height of this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setDisplaySize">setDisplaySize</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17218</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setExclusive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Exclusive</span><a href="#setExclusive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setExclusive.setExclusive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Exclusive</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setExclusive.setExclusive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Does this Container exclusively manage its children?</p>
<p>The default is <code>true</code> which means a child added to this Container cannot
belong in another Container, which includes the Scene display list.</p>
<p>If you disable this then this Container will no longer exclusively manage its children.
This allows you to create all kinds of interesting graphical effects, such as replicating
Game Objects without reparenting them all over the Scene.
However, doing so will prevent children from receiving any kind of input event or have
2024-07-28 00:48:18 +01:00
their physics bodies work by default, as they're no longer a single entity on the
2024-05-31 14:57:14 +01:00
display list, but are being replicated where-ever this Container is.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The exclusive state of this Container. Default true.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setExclusive">setExclusive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16721</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setHpNumbers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Hp<wbr/>Numbers</span><a href="#setHpNumbers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setHpNumbers.setHpNumbers-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Hp<wbr/>Numbers</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hp</span>, <span class="tsd-kind-parameter">maxHp</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setHpNumbers.setHpNumbers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">hp</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">maxHp</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setHpNumbers">setHpNumbers</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L752">src/ui/battle-info.ts:752</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setInteractive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Interactive</span><a href="#setInteractive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setInteractive.setInteractive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Interactive</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hitArea</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">dropZone</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setInteractive.setInteractive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Pass this Game Object to the Input Manager to enable it for Input.</p>
2024-05-31 14:57:14 +01:00
<p>Input works by using hit areas, these are nearly always geometric shapes, such as rectangles or circles, that act as the hit area
for the Game Object. However, you can provide your own hit area shape and callback, should you wish to handle some more advanced
input detection.</p>
<p>If no arguments are provided it will try and create a rectangle hit area based on the texture frame the Game Object is using. If
2024-07-28 00:48:18 +01:00
this isn't a texture-bound object, such as a Graphics or BitmapText object, this will fail, and you'll need to provide a specific
2024-05-31 14:57:14 +01:00
shape for it to use.</p>
<p>You can also provide an Input Configuration Object as the only argument to this method.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">hitArea</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>Either an input configuration object, or a geometric shape that defines the hit area for the Game Object. If not given it will try to create a Rectangle based on the texture frame.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-type">HitAreaCallback</span></span><div class="tsd-comment tsd-typography"><p>The callback that determines if the pointer is within the Hit Area shape or not. If you provide a shape you must also provide a callback.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">dropZone</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Should this Game Object be treated as a drop zone target? Default false.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setInteractive">setInteractive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19791</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setLevel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Level</span><a href="#setLevel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setLevel.setLevel-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Level</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">level</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setLevel.setLevel-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">level</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setLevel">setLevel</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L742">src/ui/battle-info.ts:742</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setMask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Mask</span><a href="#setMask" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setMask.setMask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Mask</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mask</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setMask.setMask-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the mask that this Game Object will use to render with.</p>
2024-05-31 14:57:14 +01:00
<p>The mask must have been previously created and can be either a GeometryMask or a BitmapMask.
Note: Bitmap Masks only work on WebGL. Geometry Masks work on both WebGL and Canvas.</p>
<p>If a mask is already set on this Game Object it will be immediately replaced.</p>
<p>Masks are positioned in global space and are not relative to the Game Object to which they
are applied. The reason for this is that multiple Game Objects can all share the same mask.</p>
<p>Masks have no impact on physics or input detection. They are purely a rendering component
that allows you to limit what is visible during the render pass.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mask</span>: <span class="tsd-signature-type">BitmapMask</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GeometryMask</span></span><div class="tsd-comment tsd-typography"><p>The mask this Game Object will use when rendering.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setMask">setMask</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17267</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setMini" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Mini</span><a href="#setMini" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setMini.setMini-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Mini</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mini</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setMini.setMini-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">mini</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setMini">setMini</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L441">src/ui/battle-info.ts:441</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setName" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Name</span><a href="#setName" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setName.setName-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Name</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setName.setName-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the <code>name</code> property of this Game Object and returns this Game Object for further chaining.
2024-05-31 14:57:14 +01:00
The <code>name</code> property is not populated by Phaser and is presented for your own use.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name to be given to this Game Object.</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setName">setName</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19659</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Offset</span><a href="#setOffset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setOffset.setOffset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Offset</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">offset</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setOffset.setOffset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">offset</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setOffset">setOffset</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L520">src/ui/battle-info.ts:520</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setPosition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Position</span><a href="#setPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setPosition.setPosition-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">z</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">w</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setPosition.setPosition-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the position of this Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The x position of this Game Object. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The y position of this Game Object. If not set it will use the <code>x</code> value. Default x.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">z</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The z position of this Game Object. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">w</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The w position of this Game Object. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setPosition">setPosition</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17524</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setPositionRelative" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Position<wbr/>Relative</span><a href="#setPositionRelative" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setPositionRelative.setPositionRelative-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Position<wbr/>Relative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">guideObject</span>, <span class="tsd-kind-parameter">x</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setPositionRelative.setPositionRelative-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets this object's position relative to another object with a given offset</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">guideObject</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setPositionRelative">setPositionRelative</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/typings/phaser/index.d.ts#L23">src/typings/phaser/index.d.ts:23</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setPostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Post<wbr/>Pipeline</span><a href="#setPostPipeline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setPostPipeline.setPostPipeline-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pipelines</span>, <span class="tsd-kind-parameter">pipelineData</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">copyData</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setPostPipeline.setPostPipeline-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets one, or more, Post Pipelines on this Game Object.</p>
2024-05-31 14:57:14 +01:00
<p>Post Pipelines are invoked after this Game Object has rendered to its target and
are commonly used for post-fx.</p>
<p>The post pipelines are appended to the <code>postPipelines</code> array belonging to this
Game Object. When the renderer processes this Game Object, it iterates through the post
pipelines in the order in which they appear in the array. If you are stacking together
multiple effects, be aware that the order is important.</p>
<p>If you call this method multiple times, the new pipelines will be appended to any existing
post pipelines already set. Use the <code>resetPostPipeline</code> method to clear them first, if required.</p>
<p>You can optionally also set the <code>postPipelineData</code> property, if the parameter is given.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pipelines</span>: <br/><span>    </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">string</span><br/><span>    </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">Function</span><br/><span>    </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><br/><span>    </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">PostFXPipeline</span><br/><span>    </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol">[]</span><br/><span>    </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Either the string-based name of the pipeline, or a pipeline instance, or class, or an array of them.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">pipelineData</span>: <span class="tsd-signature-type">object</span></span><div class="tsd-comment tsd-typography"><p>Optional pipeline data object that is set in to the <code>postPipelineData</code> property of this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">copyData</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Should the pipeline data object be <em>deep copied</em> into the <code>postPipelineData</code> property of this Game Object? If <code>false</code> it will be set by reference instead. Default true.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setPostPipeline">setPostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17407</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setPostPipelineData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Post<wbr/>Pipeline<wbr/>Data</span><a href="#setPostPipelineData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setPostPipelineData.setPostPipelineData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Post<wbr/>Pipeline<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span>, <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setPostPipelineData.setPostPipelineData-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds an entry to the <code>postPipelineData</code> object belonging to this Game Object.</p>
2024-07-28 00:48:18 +01:00
<p>If the 'key' already exists, its value is updated. If it doesn't exist, it is created.</p>
2024-05-31 14:57:14 +01:00
<p>If <code>value</code> is undefined, and <code>key</code> exists, <code>key</code> is removed from the data object.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The key of the pipeline data to set, update, or delete.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The value to be set with the key. If <code>undefined</code> then <code>key</code> will be deleted from the object.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setPostPipelineData">setPostPipelineData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17418</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setRandomPosition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Random<wbr/>Position</span><a href="#setRandomPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setRandomPosition.setRandomPosition-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Random<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">width</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">height</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setRandomPosition.setRandomPosition-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the position of this Game Object to be a random position within the confines of
the given area.</p>
<p>If no area is specified a random position between 0 x 0 and the game width x height is used instead.</p>
<p>The position does not factor in the size of this Game Object, meaning that only the origin is
guaranteed to be within the area.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The x position of the top-left of the random area. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The y position of the top-left of the random area. Default 0.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The width of the random area.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The height of the random area.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setRandomPosition">setRandomPosition</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17545</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setRotation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Rotation</span><a href="#setRotation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setRotation.setRotation-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Rotation</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">radians</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setRotation.setRotation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the rotation of this Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">radians</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The rotation of this Game Object, in radians. Default 0.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setRotation">setRotation</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17551</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setScale" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Scale</span><a href="#setScale" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setScale.setScale-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Scale</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setScale.setScale-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the scale of this Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The horizontal scale of this Game Object. Default 1.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The vertical scale of this Game Object. If not set it will use the <code>x</code> value. Default x.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setScale">setScale</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17564</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setScrollFactor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Scroll<wbr/>Factor</span><a href="#setScrollFactor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setScrollFactor.setScrollFactor-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Scroll<wbr/>Factor</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">updateChildren</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setScrollFactor.setScrollFactor-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the scroll factor of this Container and optionally all of its children.</p>
<p>The scroll factor controls the influence of the movement of a Camera upon this Game Object.</p>
<p>When a camera scrolls it will change the location at which this Game Object is rendered on-screen.
It does not change the Game Objects actual position values.</p>
<p>A value of 1 means it will move exactly in sync with a camera.
A value of 0 means it will not move at all, even if the camera moves.
Other values control the degree to which the camera movement is mapped to this Game Object.</p>
<p>Please be aware that scroll factor values other than 1 are not taken in to consideration when
calculating physics collisions. Bodies always collide based on their world position, but changing
the scroll factor is a visual adjustment to where the textures are rendered, which can offset
them from physics bodies if not accounted for in your code.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The horizontal scroll factor of this Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The vertical scroll factor of this Game Object. If not set it will use the <code>x</code> value. Default x.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">updateChildren</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Apply this scrollFactor to all Container children as well? Default false.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setScrollFactor">setScrollFactor</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17045</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Size</span><a href="#setSize" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setSize.setSize-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Size</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">width</span>, <span class="tsd-kind-parameter">height</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setSize.setSize-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the internal size of this Game Object, as used for frame or physics body creation.</p>
<p>This will not change the size that the Game Object is rendered in-game.
For that you need to either set the scale of the Game Object (<code>setScale</code>) or call the
<code>setDisplaySize</code> method, which is the same thing as changing the scale but allows you
to do so by giving pixel values.</p>
<p>If you have enabled this Game Object for input, changing the size will <em>not</em> change the
size of the hit area. To do this you should adjust the <code>input.hitArea</code> object directly.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The width of this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The height of this Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setSize">setSize</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17209</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setState" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>State</span><a href="#setState" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setState.setState-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>State</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setState.setState-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the current state of this Game Object.</p>
<p>Phaser itself will never modify the State of a Game Object, although plugins may do so.</p>
2024-07-28 00:48:18 +01:00
<p>For example, a Game Object could change from a state of 'moving', to 'attacking', to 'dead'.
2024-05-31 14:57:14 +01:00
The state value should typically be an integer (ideally mapped to a constant
in your game code), but could also be a string. It is recommended to keep it light and simple.
If you need to store complex data about your Game Object, look at using the Data Component instead.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The state of the Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setState">setState</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19672</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setVisible" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Visible</span><a href="#setVisible" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setVisible.setVisible-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Visible</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setVisible.setVisible-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the visibility of this Game Object.</p>
<p>An invisible Game Object will skip rendering, but will still process update logic.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The visible state of the Game Object.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setVisible">setVisible</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17642</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setW" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>setW</span><a href="#setW" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setW.setW-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setW</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setW.setW-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the w position of this Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The w position of this Game Object. Default 0.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setW">setW</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17591</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>setX</span><a href="#setX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setX.setX-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setX</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setX.setX-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the x position of this Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The x position of this Game Object. Default 0.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setX">setX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17570</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>setY</span><a href="#setY" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setY.setY-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setY</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setY.setY-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the y position of this Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The y position of this Game Object. Default 0.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setY">setY</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17576</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setZ" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>setZ</span><a href="#setZ" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setZ.setZ-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setZ</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setZ.setZ-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the z position of this Game Object.</p>
<p>Note: The z position does not control the rendering order of 2D Game Objects. Use
Phaser.GameObjects.Components.Depth#setDepth instead.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The z position of this Game Object. Default 0.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#setZ">setZ</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17585</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="shuffle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>shuffle</span><a href="#shuffle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="shuffle.shuffle-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">shuffle</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#shuffle.shuffle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Shuffles the all Game Objects in this Container using the Fisher-Yates implementation.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#shuffle">shuffle</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16968</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="shutdown" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>shutdown</span><a href="#shutdown" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="shutdown.shutdown-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">shutdown</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#shutdown.shutdown-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes all listeners.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#shutdown">shutdown</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9906</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="sort" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sort</span><a href="#sort" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="sort.sort-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sort</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">property</span>, <span class="tsd-kind-parameter">handler</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#sort.sort-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sort the contents of this Container so the items are in order based on the given property.
2024-07-28 00:48:18 +01:00
For example: <code>sort('alpha')</code> would sort the elements based on the value of their <code>alpha</code> property.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">property</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The property to lexically sort by.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">handler</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>Provide your own custom handler function. Will receive 2 children which it should compare and return a boolean.</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#sort">sort</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16791</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="swap" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>swap</span><a href="#swap" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="swap.swap-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">swap</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="ui_battle_info.PlayerBattleInfo.html#swap.swap-1.T-20">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child1</span>, <span class="tsd-kind-parameter">child2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#swap.swap-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Swaps the position of two Game Objects in this Container.
Both Game Objects must belong to this Container.</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="swap.swap-1.T-20" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child1</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#swap.swap-1.T-20">T</a></span><div class="tsd-comment tsd-typography"><p>The first Game Object to swap.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">child2</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#swap.swap-1.T-20">T</a></span><div class="tsd-comment tsd-typography"><p>The second Game Object to swap.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#swap">swap</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16864</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>toJSON</span><a href="#toJSON" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="toJSON.toJSON-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">toJSON</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">JSONGameObject</span><a href="#toJSON.toJSON-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns a JSON representation of the Game Object.</p>
2024-07-28 00:48:18 +01:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">JSONGameObject</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#toJSON">toJSON</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19855</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toggleData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>toggle<wbr/>Data</span><a href="#toggleData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="toggleData.toggleData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">toggle<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#toggleData.toggleData-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Toggle a boolean value for the given key within this Game Objects Data Manager. If the key doesn't already exist in the Data Manager then it is toggled from false.</p>
2024-05-31 14:57:14 +01:00
<p>If the Game Object has not been enabled for data (via <code>setDataEnabled</code>) then it will be enabled
before setting the value.</p>
2024-07-28 00:48:18 +01:00
<p>If the key doesn't already exist in the Data Manager then it is created.</p>
2024-05-31 14:57:14 +01:00
<p>When the value is first set, a <code>setdata</code> event is emitted from this Game Object.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The key to toggle the value for.</p>
2024-06-08 20:34:23 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#toggleData">toggleData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19747</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="toggleFlyout" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>toggle<wbr/>Flyout</span><a href="#toggleFlyout" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="toggleFlyout.toggleFlyout-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">toggle<wbr/>Flyout</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">visible</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#toggleFlyout.toggleFlyout-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Request the flyoutMenu to toggle if available and hides or shows the effectiveness window where necessary</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">visible</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#toggleFlyout">toggleFlyout</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L780">src/ui/battle-info.ts:780</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="toggleStats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>toggle<wbr/>Stats</span><a href="#toggleStats" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="toggleStats.toggleStats-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">toggle<wbr/>Stats</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">visible</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#toggleStats.toggleStats-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">visible</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#toggleStats">toggleStats</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L471">src/ui/battle-info.ts:471</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="update" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="update.update-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#update.update-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>To be overridden by custom GameObjects. Allows base objects to be used in a Pool.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>args</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#update">update</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19850</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="updateBossSegmentDividers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Boss<wbr/>Segment<wbr/>Dividers</span><a href="#updateBossSegmentDividers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="updateBossSegmentDividers.updateBossSegmentDividers-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Boss<wbr/>Segment<wbr/>Dividers</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateBossSegmentDividers.updateBossSegmentDividers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pokemon</span>: <a href="field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#updateBossSegmentDividers">updateBossSegmentDividers</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L498">src/ui/battle-info.ts:498</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="updateBossSegments" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Boss<wbr/>Segments</span><a href="#updateBossSegments" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="updateBossSegments.updateBossSegments-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Boss<wbr/>Segments</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateBossSegments.updateBossSegments-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pokemon</span>: <a href="field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#updateBossSegments">updateBossSegments</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L480">src/ui/battle-info.ts:480</a></li></ul></aside></li></ul></section>
2024-06-08 20:34:23 +01:00
Passing undefined will hide the window</p>
2024-11-18 18:42:56 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">effectiveness</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#updateEffectiveness">updateEffectiveness</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L794">src/ui/battle-info.ts:794</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="updateInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Info</span><a href="#updateInfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="updateInfo.updateInfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Info</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span>, <span class="tsd-kind-parameter">instant</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#updateInfo.updateInfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pokemon</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">instant</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#updateInfo">updateInfo</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/ui/battle-info.ts#L532">src/ui/battle-info.ts:532</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="updateNameText" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Name<wbr/>Text</span><a href="#updateNameText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="updateNameText.updateNameText-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Name<wbr/>Text</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateNameText.updateNameText-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-li
2024-05-31 14:57:14 +01:00
Also checks the Game Object against the given Cameras exclusion list.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">camera</span>: <span class="tsd-signature-type">Camera</span></span><div class="tsd-comment tsd-typography"><p>The Camera to check against this Game Object.</p>
2024-09-27 22:52:07 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="ui_battle_info.default.html">default</a>.<a href="ui_battle_info.default.html#willRender">willRender</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19862</li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#active" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>active</span></a><a href="#alpha" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>alpha</span></a><a href="#an