Dependencies: mbed
StartMenu/StartMenu.h@4:a9d5fca3b7ba, 2020-05-17 (annotated)
- Committer:
- ll17lrc
- Date:
- Sun May 17 15:55:47 2020 +0000
- Revision:
- 4:a9d5fca3b7ba
- Parent:
- 3:4494e6928194
- Child:
- 10:df6a496270be
*Compiles*
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 | 3:4494e6928194 | 7 | #include "ImpossEngine.h" |
ll17lrc | 2:823dea76ff2e | 8 | |
ll17lrc | 2:823dea76ff2e | 9 | /** Ball Class |
ll17lrc | 2:823dea76ff2e | 10 | @author Dr Craig A. Evans, University of Leeds |
ll17lrc | 2:823dea76ff2e | 11 | @brief Controls the ball in the Pong game |
ll17lrc | 2:823dea76ff2e | 12 | @date Febraury 2017 |
ll17lrc | 2:823dea76ff2e | 13 | */ |
ll17lrc | 2:823dea76ff2e | 14 | class StartMenu |
ll17lrc | 2:823dea76ff2e | 15 | { |
ll17lrc | 2:823dea76ff2e | 16 | |
ll17lrc | 2:823dea76ff2e | 17 | public: |
ll17lrc | 3:4494e6928194 | 18 | StartMenu(); |
ll17lrc | 2:823dea76ff2e | 19 | ~StartMenu(); |
ll17lrc | 4:a9d5fca3b7ba | 20 | void complete(Gamepad &pad,N5110 &lcd); |
ll17lrc | 2:823dea76ff2e | 21 | /// accessors and mutators |
ll17lrc | 4:a9d5fca3b7ba | 22 | |
ll17lrc | 2:823dea76ff2e | 23 | |
ll17lrc | 2:823dea76ff2e | 24 | private: |
ll17lrc | 2:823dea76ff2e | 25 | |
ll17lrc | 4:a9d5fca3b7ba | 26 | int selector; |
ll17lrc | 4:a9d5fca3b7ba | 27 | int arrow; |
ll17lrc | 3:4494e6928194 | 28 | |
ll17lrc | 2:823dea76ff2e | 29 | }; |
ll17lrc | 2:823dea76ff2e | 30 | #endif |