ELEC2645 (2018/19) / Mbed 2 deprecated el17apb

Dependencies:   mbed Gamepad N5110

Embed: (wiki syntax)

« Back to documentation index

Levels Class Reference

Levels Class Reference

Levels Class. More...

#include <Levels.h>

Public Member Functions

 Levels ()
 Constructor.
 ~Levels ()
 Deconstructor.
Pos init (Pos pos)
 Initialises all variables and pos struct.
Pos what_level (N5110 &lcd, int level)
 Displays the level Blockhead is on.

Detailed Description

Levels Class.

Class for creating and printing levels

Author:
Adam P. Baker
Date:
9 May 2019

Definition at line 50 of file Levels.h.


Constructor & Destructor Documentation

Levels (  )

Constructor.

Definition at line 9 of file Levels.cpp.

~Levels (  )

Deconstructor.

Definition at line 14 of file Levels.cpp.


Member Function Documentation

Pos init ( Pos  pos )

Initialises all variables and pos struct.

Returns:
pos struct

Definition at line 21 of file Levels.cpp.

Pos what_level ( N5110 &  lcd,
int  level 
)

Displays the level Blockhead is on.

Parameters:
N5110class which controlls lcd screen
whatlevel Blockhead is on (int)
Returns:
pos struct

Definition at line 211 of file Levels.cpp.