</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/6b31db0bc52712da489a69bea6b9a3f6c0887884/src/egg-hatch-phase.ts#L22">src/egg-hatch-phase.ts:22</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/6b31db0bc52712da489a69bea6b9a3f6c0887884/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="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/6b31db0bc52712da489a69bea6b9a3f6c0887884/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="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/6b31db0bc52712da489a69bea6b9a3f6c0887884/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="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/6b31db0bc52712da489a69bea6b9a3f6c0887884/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="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/6b31db0bc52712da489a69bea6b9a3f6c0887884/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="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/6b31db0bc52712da489a69bea6b9a3f6c0887884/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="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/6b31db0bc52712da489a69bea6b9a3f6c0887884/src/egg-hatch-phase.ts#L44">src/egg-hatch-phase.ts:44</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/6b31db0bc52712da489a69bea6b9a3f6c0887884/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="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/6b31db0bc52712da489a69bea6b9a3f6c0887884/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="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/6b31db0bc52712da489a69bea6b9a3f6c0887884/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="eggsToHatchCountContainer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagPrivate">Private</code><span>eggs<wbr/>To<wbr/>Hatch<wbr/>Count<wbr/>Container</span><ahref="#eggsToHatchCountContainer"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<wbr/>Container</span><spanclass="tsd-signature-symbol">:</span><ahref="ui_eggs_to_hatch_count_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/6b31db0bc52712da489a69bea6b9a3f6c0887884/src/egg-hatch-phase.ts#L27">src/egg-hatch-phase.ts:27</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/6b31db0bc52712da489a69bea6b9a3f6c0887884/src/egg-hatch-phase.ts#L62">src/egg-hatch-phase.ts:62</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/6b31db0bc52712da489a69bea6b9a3f6c0887884/src/egg-hatch-phase.ts#L58">src/egg-hatch-phase.ts:58</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/6b31db0bc52712da489a69bea6b9a3f6c0887884/src/egg-hatch-phase.ts#L219">src/egg-hatch-phase.ts:219</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/6b31db0bc52712da489a69bea6b9a3f6c0887884/src/egg-hatch-phase.ts#L278">src/egg-hatch-phase.ts:278</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/6b31db0bc52712da489a69bea6b9a3f6c0887884/src/egg-hatch-phase.ts#L390">src/egg-hatch-phase.ts:390</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/6b31db0bc52712da489a69bea6b9a3f6c0887884/src/egg-hatch-phase.ts#L450">src/egg-hatch-phase.ts:450</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>