YAGE
v0.1.4.0
Yet Another Game Engine
|
Main engine class that contains a systems, the main loop and the update function that updates all the systems. More...
#include <engine.h>
Public Member Functions | |
void | init () |
Initialize window and other aspects of the engine. More... | |
void | mainLoop () |
Main game loop of the engine. More... | |
void | update () |
Updates the systems. More... | |
Static Public Member Functions | |
static Engine & | instance () |
Returns the instance of the engine, as there is only one instance of the engine. More... | |
Main engine class that contains a systems, the main loop and the update function that updates all the systems.
void yage::Engine::init | ( | ) |
Initialize window and other aspects of the engine.
|
static |
Returns the instance of the engine, as there is only one instance of the engine.
void yage::Engine::mainLoop | ( | ) |
Main game loop of the engine.
void yage::Engine::update | ( | ) |
Updates the systems.