profectus-docs/assets/api_game_gameLoop_functions_startGameLoop.md.Br8I34hi.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 a,c as t,a0 as o,o as r}from"./chunks/framework.P9qPzDnn.js";const f=JSON.parse('{"title":"Function: startGameLoop()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/gameLoop/functions/startGameLoop.md","filePath":"api/game/gameLoop/functions/startGameLoop.md","lastUpdated":null}'),n={name:"api/game/gameLoop/functions/startGameLoop.md"};function s(i,e,c,p,l,d){return r(),t("div",null,e[0]||(e[0]=[o('<p><a href="./../../../">Profectus</a> / <a href="./../">game/gameLoop</a> / startGameLoop</p><h1 id="function-startgameloop" tabindex="-1">Function: startGameLoop() <a class="header-anchor" href="#function-startgameloop" aria-label="Permalink to &quot;Function: startGameLoop()&quot;"></a></h1><blockquote><p><strong>startGameLoop</strong>(): <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank" rel="noreferrer"><code>Promise</code></a>&lt;<code>void</code>&gt;</p></blockquote><p>Starts the game loop for the project, which updates the game in ticks.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise" target="_blank" rel="noreferrer"><code>Promise</code></a>&lt;<code>void</code>&gt;</p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/gameLoop.ts#L93" target="_blank" rel="noreferrer">profectus/src/game/gameLoop.ts:93</a></p>',8)]))}const h=a(n,[["render",s]]);export{f as __pageData,h as default};