SDL SPOOKY PLATFORMER ENGINE
0.2.0
An implementation of a platformer using sdl, implemented using an entity component system and efficient collision management.
|
#include <Engine.hpp>
Public Member Functions | |
Engine () | |
~Engine () | |
void | Input (bool *quit) |
void | Update (float fixedTime) |
void | Render () |
void | MainGameLoop () |
void | Start () |
void | Quit () |
void | Shutdown () |
void | InitializeGraphicsSubSystem () |
Static Public Attributes | |
static bool | quit = false |
This class sets up the main game engine
Engine::Engine | ( | ) |
Constructor of Engine
Engine::~Engine | ( | ) |
Destructor
void Engine::InitializeGraphicsSubSystem | ( | ) |
Request to startup the Graphics Subsystem
void Engine::Input | ( | bool * | quit | ) |
Input engine
void Engine::MainGameLoop | ( | ) |
Main Game Loop that runs forever
void Engine::Quit | ( | ) |
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 | ( | ) |
Initialization and shutdown pattern Explicitly call 'Start' to launch the engine
initialize resource managers
initialize music
void Engine::Update | ( | float | fixedTime | ) |
Per frame update
|
static |