Mochu Yao explorer game
Dependencies: mbed
Diff: explorer/explorer.h
- Revision:
- 23:7be9701fc1b8
- Parent:
- 20:20e6ba54e15c
- Child:
- 26:4d193529b447
diff -r f8ba0ab7465c -r 7be9701fc1b8 explorer/explorer.h --- a/explorer/explorer.h Tue Apr 28 16:58:19 2020 +0000 +++ b/explorer/explorer.h Tue Apr 28 17:19:55 2020 +0000 @@ -13,13 +13,13 @@ /** Explorer Class * @the explorer file has three functions - 1 the movement of a explorer to jump and move in left or right direction - 2 check fallen and collision - 3 reset the game -* @date April 15th 2020 -* @author Yaomochu +* @ 1 the movement of a explorer to jump and move in left or right direction +* @ 2 check fallen and collision +* @ 3 reset the game +* @ date April 15th 2020 +* @ author Yaomochu -@code +* @code #include "mbed.h" #include "N5110.h" @@ -72,7 +72,7 @@ } } -@endcode +* @endcode */ class Explorer { @@ -109,12 +109,12 @@ private: - int _x; - int _y; - int _speed; - int _jump_height; - bool _f_flag; - bool _r_flag; +int _x; +int _y; +int _speed; +int _jump_height; +bool _f_flag; +bool _r_flag; Line _line_1; Line _line_2; Line _line_3;