profectus-docs/assets/api_modules_game_gameLoop.md.4808c315.js

1 line
1.8 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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/425e85a/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};