ELEC2645 (2018/19) / Mbed 2 deprecated el17cd

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Game Class Reference

Game Class Reference

Game class. More...

#include <Game.h>

Public Member Functions

 Game ()
 The constructor of the Game class and is used to execute the game.
void run ()
 Executes the main loop.

Detailed Description

Game class.

A class used to instantiate a game object, this is used to run the game and consists of the main game loop.

Author:
Christopher Doel
Date:
April, 2019

Definition at line 41 of file Game.h.


Constructor & Destructor Documentation

Game (  )

The constructor of the Game class and is used to execute the game.

Definition at line 7 of file Game.cpp.


Member Function Documentation

void run (  )

Executes the main loop.

Definition at line 47 of file Game.cpp.