pokerogue/main/classes/field_arena_events.WeatherC...

67 lines
56 KiB
HTML

<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>WeatherChangedEvent | 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/field_arena_events.html">field/arena-events</a></li><li><a href="field_arena_events.WeatherChangedEvent.html">WeatherChangedEvent</a></li></ul><h1>Class WeatherChangedEvent</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Container class for <a href="../enums/field_arena_events.ArenaEventType.html#WEATHER_CHANGED" class="tsd-kind-enum-member"><code>ArenaEventType.WEATHER_CHANGED</code></a> events</p>
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a class="link" href="../hierarchy.html#field/arena-events.WeatherChangedEvent">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="field_arena_events.ArenaEvent.html" class="tsd-signature-type tsd-kind-class">ArenaEvent</a><ul class="tsd-hierarchy"><li><span class="target">WeatherChangedEvent</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9c97e37c27e646bc738e0b82e1b6cebe84e2c16a/src/field/arena-events.ts#L36">src/field/arena-events.ts:36</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-index-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="field_arena_events.WeatherChangedEvent.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>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="field_arena_events.WeatherChangedEvent.html#AT_TARGET" 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>AT_<wbr/>TARGET</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#BUBBLING_PHASE" 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>BUBBLING_<wbr/>PHASE</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#CAPTURING_PHASE" 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>CAPTURING_<wbr/>PHASE</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#NONE" 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>NONE</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#bubbles" 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>bubbles</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#cancelBubble" class="tsd-index-link deprecated 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>cancel<wbr/>Bubble</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#cancelable" 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>cancelable</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#composed" 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>composed</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#currentTarget" 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>current<wbr/>Target</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#defaultPrevented" 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>default<wbr/>Prevented</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#duration" 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>duration</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#eventPhase" 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>event<wbr/>Phase</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#isTrusted" 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>is<wbr/>Trusted</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#newWeatherType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>new<wbr/>Weather<wbr/>Type</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#oldWeatherType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>old<wbr/>Weather<wbr/>Type</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#returnValue" class="tsd-index-link deprecated 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>return<wbr/>Value</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#srcElement" class="tsd-index-link deprecated 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>src<wbr/>Element</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#target" 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>target</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#timeStamp" 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>time<wbr/>Stamp</span></a>
<a href="field_arena_events.WeatherChangedEvent.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="field_arena_events.WeatherChangedEvent.html#AT_TARGET-1" 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>AT_<wbr/>TARGET</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#BUBBLING_PHASE-1" 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>BUBBLING_<wbr/>PHASE</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#CAPTURING_PHASE-1" 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>CAPTURING_<wbr/>PHASE</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#NONE-1" 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>NONE</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="field_arena_events.WeatherChangedEvent.html#composedPath" 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>composed<wbr/>Path</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#initEvent" class="tsd-index-link deprecated 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/>Event</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#preventDefault" 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>prevent<wbr/>Default</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#stopImmediatePropagation" 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>stop<wbr/>Immediate<wbr/>Propagation</span></a>
<a href="field_arena_events.WeatherChangedEvent.html#stopPropagation" 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>stop<wbr/>Propagation</span></a>
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><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_WeatherChangedEvent" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Weather<wbr/>Changed<wbr/>Event</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">oldWeatherType</span>, <span class="tsd-kind-parameter">newWeatherType</span>, <span class="tsd-kind-parameter">duration</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="field_arena_events.WeatherChangedEvent.html" class="tsd-signature-type tsd-kind-class">WeatherChangedEvent</a><a href="#constructor.new_WeatherChangedEvent" 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">oldWeatherType</span>: <a href="../enums/data_weather.WeatherType.html" class="tsd-signature-type tsd-kind-enum">WeatherType</a></span></li><li><span><span class="tsd-kind-parameter">newWeatherType</span>: <a href="../enums/data_weather.WeatherType.html" class="tsd-signature-type tsd-kind-enum">WeatherType</a></span></li><li><span><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="field_arena_events.WeatherChangedEvent.html" class="tsd-signature-type tsd-kind-class">WeatherChangedEvent</a></h4><aside class="tsd-sources"><p>Overrides <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9c97e37c27e646bc738e0b82e1b6cebe84e2c16a/src/field/arena-events.ts#L41">src/field/arena-events.ts:41</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="AT_TARGET" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>AT_<wbr/>TARGET</span><a href="#AT_TARGET" 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">AT_<wbr/>TARGET</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#AT_TARGET">AT_TARGET</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8145</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="BUBBLING_PHASE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>BUBBLING_<wbr/>PHASE</span><a href="#BUBBLING_PHASE" 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">BUBBLING_<wbr/>PHASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">3</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#BUBBLING_PHASE">BUBBLING_PHASE</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8146</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="CAPTURING_PHASE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>CAPTURING_<wbr/>PHASE</span><a href="#CAPTURING_PHASE" 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">CAPTURING_<wbr/>PHASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#CAPTURING_PHASE">CAPTURING_PHASE</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8144</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="NONE" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>NONE</span><a href="#NONE" 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">NONE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#NONE">NONE</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8143</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="bubbles" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>bubbles</span><a href="#bubbles" 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">bubbles</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Returns true or false depending on how event was initialized. True if event goes through its target&#39;s ancestors in reverse tree order, and false otherwise.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/bubbles">MDN Reference</a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#bubbles">bubbles</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8040</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="cancelBubble" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">cancel<wbr/>Bubble</span><a href="#cancelBubble" 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">cancel<wbr/>Bubble</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><h4>Deprecated</h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/cancelBubble">MDN Reference</a></p>
</div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#cancelBubble">cancelBubble</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8046</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="cancelable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>cancelable</span><a href="#cancelable" 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">cancelable</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/cancelable">MDN Reference</a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#cancelable">cancelable</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8052</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="composed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>composed</span><a href="#composed" 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">composed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/composed">MDN Reference</a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#composed">composed</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8058</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="currentTarget" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>current<wbr/>Target</span><a href="#currentTarget" 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">current<wbr/>Target</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">EventTarget</span></div><div class="tsd-comment tsd-typography"><p>Returns the object whose event listener&#39;s callback is currently being invoked.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/currentTarget">MDN Reference</a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#currentTarget">currentTarget</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8064</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="defaultPrevented" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>default<wbr/>Prevented</span><a href="#defaultPrevented" 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">default<wbr/>Prevented</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented">MDN Reference</a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#defaultPrevented">defaultPrevented</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8070</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="duration" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>duration</span><a href="#duration" 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">duration</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The total duration of the <a href="../enums/field_arena_events.ArenaEventType.html" class="tsd-kind-enum"><code>ArenaEventType</code></a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#duration">duration</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9c97e37c27e646bc738e0b82e1b6cebe84e2c16a/src/field/arena-events.ts#L25">src/field/arena-events.ts:25</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="eventPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>event<wbr/>Phase</span><a href="#eventPhase" 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">event<wbr/>Phase</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Returns the event&#39;s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/eventPhase">MDN Reference</a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#eventPhase">eventPhase</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8076</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="isTrusted" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>is<wbr/>Trusted</span><a href="#isTrusted" 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">is<wbr/>Trusted</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Returns true if event was dispatched by the user agent, and false otherwise.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/isTrusted">MDN Reference</a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#isTrusted">isTrusted</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8082</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="newWeatherType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>new<wbr/>Weather<wbr/>Type</span><a href="#newWeatherType" 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">new<wbr/>Weather<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_weather.WeatherType.html" class="tsd-signature-type tsd-kind-enum">WeatherType</a></div><div class="tsd-comment tsd-typography"><p>The <a href="../enums/data_weather.WeatherType.html" class="tsd-kind-enum"><code>WeatherType</code></a> being set</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9c97e37c27e646bc738e0b82e1b6cebe84e2c16a/src/field/arena-events.ts#L40">src/field/arena-events.ts:40</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="oldWeatherType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>old<wbr/>Weather<wbr/>Type</span><a href="#oldWeatherType" 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">old<wbr/>Weather<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_weather.WeatherType.html" class="tsd-signature-type tsd-kind-enum">WeatherType</a></div><div class="tsd-comment tsd-typography"><p>The <a href="../enums/data_weather.WeatherType.html" class="tsd-kind-enum"><code>WeatherType</code></a> being overridden</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9c97e37c27e646bc738e0b82e1b6cebe84e2c16a/src/field/arena-events.ts#L38">src/field/arena-events.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="returnValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">return<wbr/>Value</span><a href="#returnValue" 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">return<wbr/>Value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><h4>Deprecated</h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/returnValue">MDN Reference</a></p>
</div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#returnValue">returnValue</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8088</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="srcElement" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span class="deprecated">src<wbr/>Element</span><a href="#srcElement" 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">src<wbr/>Element</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">EventTarget</span></div><div class="tsd-comment tsd-typography"><h4>Deprecated</h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/srcElement">MDN Reference</a></p>
</div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#srcElement">srcElement</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8094</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="target" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>target</span><a href="#target" 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">target</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">EventTarget</span></div><div class="tsd-comment tsd-typography"><p>Returns the object to which event is dispatched (its target).</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/target">MDN Reference</a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#target">target</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8100</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="timeStamp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>time<wbr/>Stamp</span><a href="#timeStamp" 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">time<wbr/>Stamp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Returns the event&#39;s timestamp as the number of milliseconds measured relative to the time origin.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/timeStamp">MDN Reference</a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#timeStamp">timeStamp</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8106</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"><code class="tsd-tag ts-flagReadonly">Readonly</code> <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>Returns the type of event, e.g. &quot;click&quot;, &quot;hashchange&quot;, or &quot;submit&quot;.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/type">MDN Reference</a></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#type">type</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8112</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="AT_TARGET-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>AT_<wbr/>TARGET</span><a href="#AT_TARGET-1" 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">AT_<wbr/>TARGET</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#AT_TARGET-1">AT_TARGET</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8154</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="BUBBLING_PHASE-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>BUBBLING_<wbr/>PHASE</span><a href="#BUBBLING_PHASE-1" 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">BUBBLING_<wbr/>PHASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">3</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#BUBBLING_PHASE-1">BUBBLING_PHASE</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8155</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="CAPTURING_PHASE-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>CAPTURING_<wbr/>PHASE</span><a href="#CAPTURING_PHASE-1" 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">CAPTURING_<wbr/>PHASE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#CAPTURING_PHASE-1">CAPTURING_PHASE</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8153</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="NONE-1" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>NONE</span><a href="#NONE-1" 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">NONE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#NONE-1">NONE</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8152</li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="composedPath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>composed<wbr/>Path</span><a href="#composedPath" 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="composedPath.composedPath-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">composed<wbr/>Path</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventTarget</span><span class="tsd-signature-symbol">[]</span><a href="#composedPath.composedPath-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 invocation target objects of event&#39;s path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root&#39;s mode is &quot;closed&quot; that are not reachable from event&#39;s currentTarget.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/composedPath">MDN Reference</a></p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">EventTarget</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#composedPath">composedPath</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8118</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="initEvent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">init<wbr/>Event</span><a href="#initEvent" 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="initEvent.initEvent-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Event</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">bubbles</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">cancelable</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="#initEvent.initEvent-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">type</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">bubbles</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">cancelable</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"><h4>Deprecated</h4><p><a href="https://developer.mozilla.org/docs/Web/API/Event/initEvent">MDN Reference</a></p>
</div><aside class="tsd-sources"><p>Inherited from <a href="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#initEvent">initEvent</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8124</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="preventDefault" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>prevent<wbr/>Default</span><a href="#preventDefault" 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="preventDefault.preventDefault-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">prevent<wbr/>Default</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="#preventDefault.preventDefault-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 invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/preventDefault">MDN Reference</a></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="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#preventDefault">preventDefault</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8130</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="stopImmediatePropagation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>stop<wbr/>Immediate<wbr/>Propagation</span><a href="#stopImmediatePropagation" 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="stopImmediatePropagation.stopImmediatePropagation-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">stop<wbr/>Immediate<wbr/>Propagation</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="#stopImmediatePropagation.stopImmediatePropagation-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>Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation">MDN Reference</a></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="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#stopImmediatePropagation">stopImmediatePropagation</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8136</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="stopPropagation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>stop<wbr/>Propagation</span><a href="#stopPropagation" 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="stopPropagation.stopPropagation-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">stop<wbr/>Propagation</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="#stopPropagation.stopPropagation-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>When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.</p>
<p><a href="https://developer.mozilla.org/docs/Web/API/Event/stopPropagation">MDN Reference</a></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="field_arena_events.ArenaEvent.html">ArenaEvent</a>.<a href="field_arena_events.ArenaEvent.html#stopPropagation">stopPropagation</a></p><ul><li>Defined in node_modules/typescript/lib/lib.dom.d.ts:8142</li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-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"><h4 class="uppercase">Member Visibility</h4><form><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-private" name="private"/><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>Private</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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><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-index-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"><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><a href="#AT_TARGET" 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>AT_<wbr/>TARGET</span></a><a href="#BUBBLING_PHASE" 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>BUBBLING_<wbr/>PHASE</span></a><a href="#CAPTURING_PHASE" 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>CAPTURING_<wbr/>PHASE</span></a><a href="#NONE" 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>NONE</span></a><a href="#bubbles" 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>bubbles</span></a><a href="#cancelBubble" 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>cancel<wbr/>Bubble</span></a><a href="#cancelable" 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>cancelable</span></a><a href="#composed" 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>composed</span></a><a href="#currentTarget" 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>current<wbr/>Target</span></a><a href="#defaultPrevented" 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>default<wbr/>Prevented</span></a><a href="#duration" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>duration</span></a><a href="#eventPhase" 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>event<wbr/>Phase</span></a><a href="#isTrusted" 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>is<wbr/>Trusted</span></a><a href="#newWeatherType" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>new<wbr/>Weather<wbr/>Type</span></a><a href="#oldWeatherType" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>old<wbr/>Weather<wbr/>Type</span></a><a href="#returnValue" 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>return<wbr/>Value</span></a><a href="#srcElement" 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>src<wbr/>Element</span></a><a href="#target" 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>target</span></a><a href="#timeStamp" 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>time<wbr/>Stamp</span></a><a href="#type" 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>type</span></a><a href="#AT_TARGET-1" 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>AT_<wbr/>TARGET</span></a><a href="#BUBBLING_PHASE-1" 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>BUBBLING_<wbr/>PHASE</span></a><a href="#CAPTURING_PHASE-1" 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>CAPTURING_<wbr/>PHASE</span></a><a href="#NONE-1" 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>NONE</span></a><a href="#composedPath" class="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>composed<wbr/>Path</span></a><a href="#initEvent" class="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/>Event</span></a><a href="#preventDefault" class="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>prevent<wbr/>Default</span></a><a href="#stopImmediatePropagation" class="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>stop<wbr/>Immediate<wbr/>Propagation</span></a><a href="#stopPropagation" class="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>stop<wbr/>Propagation</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>pokemon-rogue-battle</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>