![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
GameEngine/RocketRacer.h@8:b547037f42be, 2019-03-26 (annotated)
- Committer:
- OmarAlebiary
- Date:
- Tue Mar 26 13:07:12 2019 +0000
- Revision:
- 8:b547037f42be
- Parent:
- 7:7e50cac5e0f4
- Child:
- 9:edb39a8334ee
fixed joystick left and right read
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
OmarAlebiary | 6:958376d55d70 | 1 | #ifndef ROCKETRACER_H |
OmarAlebiary | 6:958376d55d70 | 2 | #define ROCKETRACER_H |
OmarAlebiary | 6:958376d55d70 | 3 | |
OmarAlebiary | 6:958376d55d70 | 4 | #include "mbed.h" |
OmarAlebiary | 6:958376d55d70 | 5 | #include "N5110.h" |
OmarAlebiary | 6:958376d55d70 | 6 | #include "Gamepad.h" |
OmarAlebiary | 6:958376d55d70 | 7 | |
OmarAlebiary | 6:958376d55d70 | 8 | |
OmarAlebiary | 6:958376d55d70 | 9 | |
OmarAlebiary | 6:958376d55d70 | 10 | |
OmarAlebiary | 6:958376d55d70 | 11 | class RocketRacer{ |
OmarAlebiary | 6:958376d55d70 | 12 | |
OmarAlebiary | 6:958376d55d70 | 13 | public: |
OmarAlebiary | 6:958376d55d70 | 14 | |
OmarAlebiary | 7:7e50cac5e0f4 | 15 | void MainGameDisplay(N5110 &lcd); |
OmarAlebiary | 7:7e50cac5e0f4 | 16 | void EndGame(N5110 &lcd); |
OmarAlebiary | 8:b547037f42be | 17 | void GameLoop(Gamepad &pad); |
OmarAlebiary | 6:958376d55d70 | 18 | |
OmarAlebiary | 6:958376d55d70 | 19 | |
OmarAlebiary | 6:958376d55d70 | 20 | |
OmarAlebiary | 6:958376d55d70 | 21 | }; |
OmarAlebiary | 6:958376d55d70 | 22 | |
OmarAlebiary | 6:958376d55d70 | 23 | #endif |