1 line
1.8 KiB
JavaScript
1 line
1.8 KiB
JavaScript
import{_ as e,c as a,o,N as t}from"./chunks/framework.0799945b.js";const g=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"},s=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><h5 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></a></h5><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/5c11524/src/game/gameLoop.ts#L97" target="_blank" rel="noreferrer">profectus/src/game/gameLoop.ts:97</a></p>',9),n=[s];function i(l,c,d,m,p,h){return o(),a("div",null,n)}const _=e(r,[["render",i]]);export{g as __pageData,_ as default};
|