![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Adam Baker 201166301
Dependencies: mbed Gamepad N5110
Diff: Blockhead/Blockhead.h
- Revision:
- 52:beeffd296ea3
- Parent:
- 50:9fc8edf722a8
--- a/Blockhead/Blockhead.h Thu May 09 12:12:01 2019 +0000 +++ b/Blockhead/Blockhead.h Thu May 09 12:19:36 2019 +0000 @@ -16,7 +16,7 @@ class Blockhead { public: - /** Constructorn */ + /** Constructor */ Blockhead(); /** Deconstructor */ @@ -29,18 +29,18 @@ void continue_init(); /** changes level when character reaches side of screen - *@returs level blockhead is on (int) + *@returns level blockhead is on (int) */ int next_level(); - /** contrlls blockhead depending on position in game, and user input + /** controlls blockhead depending on position in game, and user input *@param pos struct which contains cordinates and direction of moving platforms *@param N5110 class which controlls lcd screen *@param Gamepad class for working with the gamepad */ void blockhead(Pos pos, N5110 &lcd, Gamepad &pad); - /** contrlls blockhead depending on position in game, and user input + /** retruns 1 when gameover occurs *@param Gamepad class for working with the gamepad *@returns gameover (0 when alive, 1 once died) (int) */