Building Game Engines
Public Member Functions | List of all members
Engine Class Reference

#include <Engine.hpp>

Collaboration diagram for Engine:
Collaboration graph

Public Member Functions

 Engine ()
 
 ~Engine ()
 
void Input (bool *quit)
 
void Update ()
 
void Render ()
 
void MainGameLoop ()
 
void Start ()
 
void Shutdown ()
 
bool getDoQuit ()
 
void InitializeGraphicsSubSystem ()
 

Detailed Description

The main game engine

Constructor & Destructor Documentation

◆ Engine()

Engine::Engine ( )

Constructor

◆ ~Engine()

Engine::~Engine ( )

Destructor

Member Function Documentation

◆ getDoQuit()

bool Engine::getDoQuit ( )

sees if we need to quit the game

◆ InitializeGraphicsSubSystem()

void Engine::InitializeGraphicsSubSystem ( )

Initializes the graphics subsystems

◆ Input()

void Engine::Input ( bool *  quit)

Checks for user input. Quit is whether or not the game has received a quit command.

Here is the call graph for this function:

◆ MainGameLoop()

void Engine::MainGameLoop ( )

The main game loop that runs until a quit operation occurs

Here is the call graph for this function:

◆ Render()

void Engine::Render ( )

Renders each game object in the game

Here is the call graph for this function:

◆ Shutdown()

void Engine::Shutdown ( )

Shuts down the game engine

Here is the call graph for this function:

◆ Start()

void Engine::Start ( )

Starts and initializes variables in the game engine

Here is the call graph for this function:

◆ Update()

void Engine::Update ( )

Updates each game object in the game

Here is the call graph for this function:

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