Untitled Game engine no.5
1.0
|
This class sets up the main game engine. More...
#include <Engine.hpp>
Public Member Functions | |
Engine (int w, int h) | |
Constructor of Engine. | |
~Engine () | |
Destructor. | |
void | ProcessInput (bool *quit) |
Input engine. | |
void | Update (double dt) |
Per frame update. | |
void | Render () |
Per frame render. Renders everything. | |
void | MainGameLoop () |
Main Game Loop that runs forever. | |
void | Start () |
void | Shutdown () |
void | InitializeGraphicsSubSystem () |
Request to startup the Graphics Subsystem. More... | |
This class sets up the main game engine.
void Engine::Engine::InitializeGraphicsSubSystem | ( | ) |
Request to startup the Graphics Subsystem.
Generate a window and graphics objects
void Engine::Engine::Shutdown | ( | ) |
Initialization and shutdown pattern Explicitly call 'Shutdown' to terminate the engine
Safely delete and close down all connected objects.
void Engine::Engine::Start | ( | ) |
Initialization and shutdown pattern Explicitly call 'Start' to launch the engine
Initialize and load Game Objects and game data.