Aiming Wu / Mbed 2 deprecated 2645_Assignment

Dependencies:   mbed N5110

Embed: (wiki syntax)

« Back to documentation index

Wall1 Class Reference

Wall1 Class Reference

Wall1 class. More...

#include <Wall1.h>

Public Member Functions

 Wall1 ()
 Constructor.
 ~Wall1 ()
 Destructor.
void init ()
 Initialise all parameters of the Wall1.
int * draw (N5110 &lcd)
 Draw the thoroughfare of the flappy bird.

Data Fields

int * _ab
 Input a mainfold.

Detailed Description

Wall1 class.

Library to draw the thoroughfare of the flappy bird

Author:
Wu Aiming
Date:
May 2019

Definition at line 15 of file Wall1.h.


Constructor & Destructor Documentation

Wall1 (  )

Constructor.

Definition at line 3 of file Wall1.cpp.

~Wall1 (  )

Destructor.

Definition at line 8 of file Wall1.cpp.


Member Function Documentation

int * draw ( N5110 &  lcd )

Draw the thoroughfare of the flappy bird.

Parameters:
lcd
Returns:
The boundary position of thoroughfare in (0,0) and live scores

Use the method to use function within N5110.h file

Definition at line 32 of file Wall1.cpp.

void init (  )

Initialise all parameters of the Wall1.

Definition at line 13 of file Wall1.cpp.


Field Documentation

int* _ab

Input a mainfold.

Definition at line 37 of file Wall1.h.