engine.game

Undocumented in source.

Members

Functions

currTime
double currTime()

Gets delta time

deltaTime
double deltaTime()

Gets delta time

prevTime
double prevTime()

Gets delta time

resetTime
void resetTime()

Resets the time scale

startGame
void startGame(vec2i viewportSize)

Starts the game loop

Variables

gameBorder
void function() gameBorder;

Function run after the main rendering has happened, Used to draw borders for the gameplay

gameCleanup
void function() gameCleanup;

Function run when the game is to clean up

gameInit
void function() gameInit;

Function run when the game is to initialize

gamePostUpdate
void function() gamePostUpdate;

Function run after updates and rendering of the game

gameUpdate
void function() gameUpdate;

Function run when the game is to update

Meta