Game Engine 2D Platformer
|
This class sets up the main game engine. More...
#include <Engine.hpp>
Public Member Functions | |
Engine () | |
Constructor of Engine. More... | |
~Engine () | |
Destructor. More... | |
void | Input (bool *quit, bool *startGame) |
Input engine. More... | |
void | Update () |
Per frame update. More... | |
void | Render () |
Per frame render. More... | |
void | StartScreenLoop (bool *quit, bool *startGame) |
Start screen Loop. More... | |
void | MainGameLoop () |
Main Game Loop that runs forever. More... | |
void | WinScreenLoop (bool *quit, bool *startGame) |
Initialization and shutdown pattern Explicitly call 'Start' to launch the engine. More... | |
void | GameOverScreenLoop (bool *quit, bool *startGame) |
void | Start () |
void | Shutdown () |
Initialization and shutdown pattern Explicitly call 'Shutdown' to terminate the engine. More... | |
void | InitializeGraphicsSubSystem () |
Request to startup the Graphics Subsystem. More... | |
This class sets up the main game engine.
Engine::Engine | ( | ) |
Constructor of Engine.
Engine::~Engine | ( | ) |
Destructor.
void Engine::GameOverScreenLoop | ( | bool * | quit, |
bool * | startGame | ||
) |
void Engine::InitializeGraphicsSubSystem | ( | ) |
Request to startup the Graphics Subsystem.
void Engine::Input | ( | bool * | quit, |
bool * | startGame | ||
) |
Input engine.
void Engine::MainGameLoop | ( | ) |
Main Game Loop that runs forever.
void Engine::Render | ( | ) |
Per frame render.
Renders everything
void Engine::Shutdown | ( | ) |
Initialization and shutdown pattern Explicitly call 'Shutdown' to terminate the engine.
void Engine::Start | ( | ) |
void Engine::StartScreenLoop | ( | bool * | quit, |
bool * | startGame | ||
) |
Start screen Loop.
void Engine::Update | ( | ) |
Per frame update.
void Engine::WinScreenLoop | ( | bool * | quit, |
bool * | startGame | ||
) |
Initialization and shutdown pattern Explicitly call 'Start' to launch the engine.