SDL SPOOKY PLATFORMER ENGINE  0.2.0
An implementation of a platformer using sdl, implemented using an entity component system and efficient collision management.
Public Member Functions | Static Public Attributes | List of all members
Engine Class Reference

#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
 

Detailed Description

This class sets up the main game engine

Constructor & Destructor Documentation

Engine::Engine ( )

Constructor of Engine

Engine::~Engine ( )

Destructor

Member Function Documentation

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

Member Data Documentation

bool Engine::quit = false
static

The documentation for this class was generated from the following files: