Class: GameLoop

gEngine.GameLoop()

new GameLoop()

Global variable EngineGameLoop

Implements the game loop functionality of gEngine

Source:

Methods

getUpdateIntervalInSeconds() → {Number}

Return the interval time of the GameLoop
Source:
Returns:
Interval time
Type
Number

start(myGame) → {void}

Start the Gameloop's Loop
Parameters:
Name Type Description
myGame Scene to set as the active scene
Source:
Returns:
Type
void

stop() → {void}

Stop the Gameloop's Loop
Source:
Returns:
Type
void