Game Engine 2D Platformer
Public Member Functions | List of all members
Engine Class Reference

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...
 

Detailed Description

This class sets up the main game engine.

Constructor & Destructor Documentation

◆ Engine()

Engine::Engine ( )

Constructor of Engine.

◆ ~Engine()

Engine::~Engine ( )

Destructor.

Member Function Documentation

◆ GameOverScreenLoop()

void Engine::GameOverScreenLoop ( bool *  quit,
bool *  startGame 
)

◆ InitializeGraphicsSubSystem()

void Engine::InitializeGraphicsSubSystem ( )

Request to startup the Graphics Subsystem.

◆ Input()

void Engine::Input ( bool *  quit,
bool *  startGame 
)

Input engine.

◆ MainGameLoop()

void Engine::MainGameLoop ( )

Main Game Loop that runs forever.

◆ Render()

void Engine::Render ( )

Per frame render.

Renders everything

◆ Shutdown()

void Engine::Shutdown ( )

Initialization and shutdown pattern Explicitly call 'Shutdown' to terminate the engine.

◆ Start()

void Engine::Start ( )

◆ StartScreenLoop()

void Engine::StartScreenLoop ( bool *  quit,
bool *  startGame 
)

Start screen Loop.

◆ Update()

void Engine::Update ( )

Per frame update.

◆ WinScreenLoop()

void Engine::WinScreenLoop ( bool *  quit,
bool *  startGame 
)

Initialization and shutdown pattern Explicitly call 'Start' to launch the engine.


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