profectus-docs/assets/api_modules_game_gameLoop.md.cada700a.js

2 lines
1.8 KiB
JavaScript
Raw Normal View History

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 &quot;Module: game/gameLoop&quot;"></a></h1><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-label="Permalink to &quot;Functions&quot;"></a></h2><h3 id="startgameloop" tabindex="-1">startGameLoop <a class="header-anchor" href="#startgameloop" aria-label="Permalink to &quot;startGameLoop&quot;"></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>&lt;<code>void</code>&gt;</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 &quot;Returns&quot;"></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>&lt;<code>void</code>&gt;</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/b5e7e77/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};