Class: GameLoop

gEngine.GameLoop

new GameLoop()

Global variable EngineGameLoop

Implements the game loop functionality of gEngine

Source:

Methods

(static) getUpdateIntervalInSeconds() → {Number}

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

(static) start(myGame) → {void}

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

(static) stop() → {void}

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