1 line
2.4 KiB
JavaScript
1 line
2.4 KiB
JavaScript
import{_ as e,c as a,o,N as t}from"./chunks/framework.0799945b.js";const f=JSON.parse('{"title":"Module: game/gameLoop","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/game/gameLoop.md","lastUpdated":null}'),r={name:"api/modules/game/gameLoop.md"},n=t('<h1 id="module-game-gameloop" tabindex="-1">Module: game/gameLoop <a class="header-anchor" href="#module-game-gameloop" aria-label="Permalink to "Module: game/gameLoop""></a></h1><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-label="Permalink to "Functions""></a></h2><h3 id="startgameloop" tabindex="-1">startGameLoop <a class="header-anchor" href="#startgameloop" aria-label="Permalink to "startGameLoop""></a></h3><p>▸ <strong>startGameLoop</strong>(): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank" rel="noreferrer"><code>Promise</code></a><<code>void</code>></p><p>Starts the game loop for the project, which updates the game in ticks.</p><h4 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h4><p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank" rel="noreferrer"><code>Promise</code></a><<code>void</code>></p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to "Defined in""></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/game/gameLoop.ts#L97" target="_blank" rel="noreferrer">profectus/src/game/gameLoop.ts:97</a></p><p>• <strong>startGameLoop</strong>: () => <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank" rel="noreferrer"><code>Promise</code></a><<code>void</code>></p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to "Defined in""></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/game/gameLoop.ts#L97" target="_blank" rel="noreferrer">profectus/src/game/gameLoop.ts:97</a></p>',12),s=[n];function i(c,l,d,p,m,h){return o(),a("div",null,s)}const u=e(r,[["render",i]]);export{f as __pageData,u as default};
|