import{_ast,case,oasa,Naso}from"./chunks/framework.0799945b.js";consty=JSON.parse('{"title":"Module: game/notifications","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/game/notifications.md","lastUpdated":null}'),i={name:"api/modules/game/notifications.md"},l=o('<h1id="module-game-notifications"tabindex="-1">Module:game/notifications<aclass="header-anchor"href="#module-game-notifications"aria-label="Permalink to "Module: game/notifications""></a></h1><h2id="functions"tabindex="-1">Functions<aclass="header-anchor"href="#functions"aria-label="Permalinkto"Functions""></a></h2><h3id="createdismissablenotify"tabindex="-1">createDismissableNotify<aclass="header-anchor"href="#createdismissablenotify"aria-label="Permalinkto"createDismissableNotify""></a></h3><p>▸<strong>createDismissableNotify</strong>(<code>element</code>,<code>shouldNotify</code>):<code>Ref</code><<code>boolean</code>></p><p>Createabooleanrefthatwillautomaticallybesetbasedonthegivencondition,butalsodismissedwhenhoveringoveragivenelement,typicallytheelementwhereactinguponthenotificationwouldtakeplace.</p><h4id="parameters"tabindex="-1">Parameters<aclass="header-anchor"href="#parameters"aria-label="Permalinkto"Parameters""></a></h4><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>element</code></td><tdstyle="text-align:left;"><ahref="../../interfaces/util/vue.VueFeature"><code>VueFeature</code></a></td><tdstyle="text-align:left;">Theelementthatwilldismissthenotificationonhover.</td></tr><tr><tdstyle="text-align:left;"><code>shouldNotify</code></td><tdstyle="text-align:left;"><code>Ref</code><<code>boolean</code>>|()=><code>boolean</code></td><tdstyle="text-align:left;">Afunctionorrefthatdeterminesifthenotifshouldbeactivecurrentlyornot.</td></tr></tbody></table><h4id="returns"tabindex="-1">Returns<aclass="header-anchor"href="#returns"aria-label="Permalinkto"Returns""></a></h4><p><code>Ref</code><<code>boolean</code>></p><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/game/notifications.ts#L36"target="_blank"rel="noreferrer">profectus/src/game/notifications.ts:36</a></p><hr><h3id="gethighnotifystyle"tabindex="-1">getHighNotifyStyle<aclass="header-anchor"href="#gethighnotifystyle"aria-label="Permalinkto"getHighNotifyStyle""></a></h3><p>▸<strong>getHighNotifyStyle</strong>():<code>Object</code></p><p>Utilityfunctiontocall<ahref="./notifications#getnotifystyle">getNotifyStyle</a>with"highimportance"parameters.</p><h4id="returns-1"tabindex="-1">Returns<aclass="header-anchor"href="#returns-1"aria-label="Permalinkto"Returns""></a></h4><p><code>Object</code></p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>borderColor</code></td><tdstyle="text-align:left;"><code>string</code></td></tr><tr><tdstyle="text-align:left;"><code>boxShadow</code></td><tdstyle="text-align:left;"><code>string</code></td></tr><tr><tdstyle="text-align:left;"><code>transform</code></td><tdstyle="text-align:left;"><code>string</code></td></tr><tr><tdstyle="text-align:left;"><code>zIndex</code></td><tdstyle="text-align:left;"><code>number</code></td></tr></tbody></table><h4id="defined-in-1"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-1"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/game/notifications.ts#L27"target="_blank"rel="noreferrer">profect