Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed FXOS8700CQ mbed-rtos
Diff: Game_three/Game_three.h
- Revision:
- 21:704d938acf5d
- Child:
- 25:31111e6e13ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Game_three/Game_three.h Sun Apr 28 18:04:23 2019 +0000 @@ -0,0 +1,36 @@ +/** Game Three Class +* @brief This class is the game engine for the third mini-game +* @version 1.0 +* @author Yiu Fai Kwok +* @date 22 April, 2019 +*/ +#ifndef GAME_THREE_H +#define GAME_THREE_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" +#include "Score.h" +#include "Book.h" +#include "Message.h" + +class Game_three +{ + +public: + + /** Constructor */ + Game_three(); + /** Deconstructor */ + ~Game_three(); + + void init(int speed, int cha, int r); + void draw(N5110 &lcd, int cha); + +private: + + void background(N5110 &lcd); + +}; + +#endif \ No newline at end of file