Dependencies: mbed
StartMenu/StartMenu.h@3:4494e6928194, 2020-05-16 (annotated)
- Committer:
- ll17lrc
- Date:
- Sat May 16 15:51:02 2020 +0000
- Revision:
- 3:4494e6928194
- Parent:
- 2:823dea76ff2e
- Child:
- 4:a9d5fca3b7ba
*some problems fixed*
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ll17lrc | 2:823dea76ff2e | 1 | #ifndef STARTMENU_H |
ll17lrc | 2:823dea76ff2e | 2 | #define STARTMENU_H |
ll17lrc | 2:823dea76ff2e | 3 | |
ll17lrc | 2:823dea76ff2e | 4 | #include "mbed.h" |
ll17lrc | 2:823dea76ff2e | 5 | #include "N5110.h" |
ll17lrc | 2:823dea76ff2e | 6 | #include "Gamepad.h" |
ll17lrc | 2:823dea76ff2e | 7 | #include "Ball.h" |
ll17lrc | 3:4494e6928194 | 8 | #include "ImpossEngine.h" |
ll17lrc | 2:823dea76ff2e | 9 | |
ll17lrc | 2:823dea76ff2e | 10 | /** Ball Class |
ll17lrc | 2:823dea76ff2e | 11 | @author Dr Craig A. Evans, University of Leeds |
ll17lrc | 2:823dea76ff2e | 12 | @brief Controls the ball in the Pong game |
ll17lrc | 2:823dea76ff2e | 13 | @date Febraury 2017 |
ll17lrc | 2:823dea76ff2e | 14 | */ |
ll17lrc | 2:823dea76ff2e | 15 | class StartMenu |
ll17lrc | 2:823dea76ff2e | 16 | { |
ll17lrc | 2:823dea76ff2e | 17 | |
ll17lrc | 2:823dea76ff2e | 18 | public: |
ll17lrc | 3:4494e6928194 | 19 | StartMenu(); |
ll17lrc | 2:823dea76ff2e | 20 | ~StartMenu(); |
ll17lrc | 2:823dea76ff2e | 21 | void draw(N5110 &lcd); |
ll17lrc | 3:4494e6928194 | 22 | void complete(Gamepad &pad,N5110 &lcd,int level); |
ll17lrc | 2:823dea76ff2e | 23 | /// accessors and mutators |
ll17lrc | 2:823dea76ff2e | 24 | |
ll17lrc | 2:823dea76ff2e | 25 | private: |
ll17lrc | 2:823dea76ff2e | 26 | |
ll17lrc | 2:823dea76ff2e | 27 | int ball_x_pos; |
ll17lrc | 2:823dea76ff2e | 28 | int ball_y_pos; |
ll17lrc | 3:4494e6928194 | 29 | |
ll17lrc | 2:823dea76ff2e | 30 | }; |
ll17lrc | 2:823dea76ff2e | 31 | #endif |