Adam Baker 201166301
Dependencies: mbed Gamepad N5110
Diff: BlockheadEngine/BlockheadEngine.h
- Revision:
- 43:11c5d098ce9d
- Parent:
- 42:0dad7c359fa5
- Child:
- 44:03059810630d
--- a/BlockheadEngine/BlockheadEngine.h Wed May 08 16:28:13 2019 +0000 +++ b/BlockheadEngine/BlockheadEngine.h Wed May 08 22:00:17 2019 +0000 @@ -17,37 +17,27 @@ { public: - /** - *@brief Constructor - */ + /** Constructor */ BlockheadEngine(); - /** - *@brief Deconstructor - */ + /** Deconstructor */ ~BlockheadEngine(); - /** - *@brief Initialises variables in blockhead class and level class and _pos struct. - */ + /** Initialises variables in blockhead class and level class and _pos struct. */ void init(); - /** - *@brief Intialises variables in blockhead class and level class and _pos struck (except level number which it keeps the same) - */ + /** Intialises variables in blockhead class and level class and _pos struck (except level number which it keeps the same) */ void continueInit(); - /** - *@brief runs the game 'blockhead' - *@param lcd @brief class which controlls lcd screen - *@param pad @brief class for working with the gamepad - *@returns _gameover @brief (0 when blockhead alive, 1 once died) + /** runs the game 'blockhead' + *@param N5110 class which controlls lcd screen + *@param Gamepad class for working with the gamepad + *@returns _gameover (0 when blockhead alive, 1 once died) (int) */ int playgame(N5110 &lcd, Gamepad &pad); - /** - *@bried sets highscore if new highest level reached - *@retunrs _highscore + /** sets highscore if new highest level reached + *@retunrs _highscore (int) */ int highscore();