</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L20">src/egg-hatch-phase.ts:20</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggContainer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>egg<wbr/>Container</span><ahref="#eggContainer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">egg<wbr/>Container</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Container</span></div><divclass="tsd-comment tsd-typography"><p>The phaser container that holds the egg</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L36">src/egg-hatch-phase.ts:36</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggCounterContainer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>egg<wbr/>Counter<wbr/>Container</span><ahref="#eggCounterContainer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">egg<wbr/>Counter<wbr/>Container</span><spanclass="tsd-signature-symbol">:</span><ahref="ui_egg_counter_container.default.html"class="tsd-signature-type tsd-kind-class">default</a></div><divclass="tsd-comment tsd-typography"><p>The container that lists how many eggs are hatching</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L25">src/egg-hatch-phase.ts:25</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggCrackSprite"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>egg<wbr/>Crack<wbr/>Sprite</span><ahref="#eggCrackSprite"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">egg<wbr/>Crack<wbr/>Sprite</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Sprite</span></div><divclass="tsd-comment tsd-typography"><p>The phaser sprite of the cracks in an egg</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L40">src/egg-hatch-phase.ts:40</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggHatchBg"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>egg<wbr/>Hatch<wbr/>Bg</span><ahref="#eggHatchBg"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">egg<wbr/>Hatch<wbr/>Bg</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Image</span></div><divclass="tsd-comment tsd-typography"><p>The phaser image that is the background</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L32">src/egg-hatch-phase.ts:32</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggHatchContainer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>egg<wbr/>Hatch<wbr/>Container</span><ahref="#eggHatchContainer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">egg<wbr/>Hatch<wbr/>Container</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Container</span></div><divclass="tsd-comment tsd-typography"><p>The phaser gameobject container that holds everything</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L30">src/egg-hatch-phase.ts:30</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggHatchHandler"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>egg<wbr/>Hatch<wbr/>Handler</span><ahref="#eggHatchHandler"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">egg<wbr/>Hatch<wbr/>Handler</span><spanclass="tsd-signature-symbol">:</span><ahref="ui_egg_hatch_scene_handler.default.html"class="tsd-signature-type tsd-kind-class">default</a></div><divclass="tsd-comment tsd-typography"><p>The scene handler for egg hatching</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L28">src/egg-hatch-phase.ts:28</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggHatchOverlay"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>egg<wbr/>Hatch<wbr/>Overlay</span><ahref="#eggHatchOverlay"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">egg<wbr/>Hatch<wbr/>Overlay</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Rectangle</span></div><divclass="tsd-comment tsd-typography"><p>The phaser rectangle that overlays during the scene</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L34">src/egg-hatch-phase.ts:34</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggLightraysOverlay"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>egg<wbr/>Lightrays<wbr/>Overlay</span><ahref="#eggLightraysOverlay"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">egg<wbr/>Lightrays<wbr/>Overlay</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Sprite</span></div><divclass="tsd-comment tsd-typography"><p>The phaser sprite that represents the overlaid light rays</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L42">src/egg-hatch-phase.ts:42</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggMoveIndex"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>egg<wbr/>Move<wbr/>Index</span><ahref="#eggMoveIndex"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">egg<wbr/>Move<wbr/>Index</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><divclass="tsd-comment tsd-typography"><p>The index of which egg move is unlocked. 0-2 is common, 3 is rare</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L54">src/egg-hatch-phase.ts:54</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggSprite"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>egg<wbr/>Sprite</span><ahref="#eggSprite"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">egg<wbr/>Sprite</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Sprite</span></div><divclass="tsd-comment tsd-typography"><p>The phaser sprite of the egg</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L38">src/egg-hatch-phase.ts:38</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="eggsToHatchCount"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>eggs<wbr/>To<wbr/>Hatch<wbr/>Count</span><ahref="#eggsToHatchCount"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">eggs<wbr/>To<wbr/>Hatch<wbr/>Count</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><divclass="tsd-comment tsd-typography"><p>The number of eggs that are hatching</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L23">src/egg-hatch-phase.ts:23</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="evolutionBgm"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>evolution<wbr/>Bgm</span><ahref="#evolutionBgm"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">evolution<wbr/>Bgm</span><spanclass="tsd-signature-symbol">:</span><ahref="../types/battle_scene.AnySound.html"class="tsd-signature-type tsd-kind-type-alias">AnySound</a></div><divclass="tsd-comment tsd-typography"><p>The sound effect being played when the egg is hatched</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L60">src/egg-hatch-phase.ts:60</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="hatched"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>hatched</span><ahref="#hatched"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">hatched</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><divclass="tsd-comment tsd-typography"><p>Internal booleans representing if the egg is hatched, able to be skipped, or skipped</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L56">src/egg-hatch-phase.ts:56</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-private"><aid="infoContainer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>info<wbr/>Container</span><ahref="#infoContainer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">info<wbr/>Container</span><spanclass="tsd-signature-symbol">:</span><ahref="ui_pokemon_info_container.default.html"class="tsd-signature-type tsd-kind-class">default</a></div><divclass="tsd-comment tsd-typography"><p>The <ahref="ui_pokemon_info_container.default.html"class="tsd-kind-class">PokemonInfoContainer</a> of the newly hatched Pokemon</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">intensity</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>of horizontal shaking. Doubled on the first call (where count is 0)</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">repeatCount</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>the number of times this function should be called (asynchronous recursion?!?)</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">count</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>the current number of times this function has been called.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">Promise</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">void</span><spanclass="tsd-signature-symbol">></span></h4><p>nothing since it's a Promise<void></p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L215">src/egg-hatch-phase.ts:215</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="doHatch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>do<wbr/>Hatch</span><ahref="#doHatch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="doHatch.doHatch-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">do<wbr/>Hatch</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#doHatch.doHatch-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Plays the animation of an egg hatch</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L277">src/egg-hatch-phase.ts:277</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="doReveal"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>do<wbr/>Reveal</span><ahref="#doReveal"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="doReveal.doReveal-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">do<wbr/>Reveal</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#doReveal.doReveal-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Function to do the logic and animation of completing a hatch and revealing the Pokemon</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">intensity</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>number of times this is repeated (this is a badly named variable)</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">offsetY</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>how much to offset the Y coordinates</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L380">src/egg-hatch-phase.ts:380</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="doSprayParticle"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>do<wbr/>Spray<wbr/>Particle</span><ahref="#doSprayParticle"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="doSprayParticle.doSprayParticle-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">do<wbr/>Spray<wbr/>Particle</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">trigIndex</span>, <spanclass="tsd-kind-parameter">offsetY</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#doSprayParticle.doSprayParticle-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Animates a particle used in the spray animation</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">trigIndex</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Used to modify the particle's vertical speed, is a random number from 0-7</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">offsetY</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>how much to offset the Y coordinate</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/7474eac80866f2fb06b26121bc5f8e493ee40f1b/src/egg-hatch-phase.ts#L440">src/egg-hatch-phase.ts:440</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="sin"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>sin</span><ahref="#sin"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="sin.sin-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">sin</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">index</span>, <spanclass="tsd-kind-parameter">amplitude</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#sin.sin-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Helper function to generate sine. (Why is this not a Utils?!?)</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">index</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>random number from 0-7 being passed in to scale pi/128</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>false if cannot be skipped or already skipped. True otherwise</p>