![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Owen Cavender 201159294
GameEngine.h@12:60c856354406, 2020-05-29 (annotated)
- Committer:
- el17oc
- Date:
- Fri May 29 16:00:56 2020 +0000
- Revision:
- 12:60c856354406
- Parent:
- 10:ee781d18e0f6
- Child:
- 16:9500059ad5d8
HH
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
el17oc | 8:997f90c88246 | 1 | #ifndef GAMEENGINE_H |
el17oc | 8:997f90c88246 | 2 | #define GAMEENGINE_H |
el17oc | 8:997f90c88246 | 3 | |
el17oc | 8:997f90c88246 | 4 | #include "mbed.h" |
el17oc | 8:997f90c88246 | 5 | #include "N5110.h" |
el17oc | 8:997f90c88246 | 6 | #include "Gamepad.h" |
el17oc | 8:997f90c88246 | 7 | #include "snake.h" |
el17oc | 8:997f90c88246 | 8 | |
el17oc | 8:997f90c88246 | 9 | |
el17oc | 8:997f90c88246 | 10 | |
el17oc | 8:997f90c88246 | 11 | class GameEngine |
el17oc | 8:997f90c88246 | 12 | { |
el17oc | 8:997f90c88246 | 13 | |
el17oc | 8:997f90c88246 | 14 | |
el17oc | 8:997f90c88246 | 15 | public: |
el17oc | 8:997f90c88246 | 16 | GameEngine(); |
el17oc | 8:997f90c88246 | 17 | ~GameEngine(); |
el17oc | 8:997f90c88246 | 18 | |
el17oc | 8:997f90c88246 | 19 | |
el17oc | 9:a69a6a06dddf | 20 | void print_scores(N5110 &lcd, Snake &snake); |
el17oc | 9:a69a6a06dddf | 21 | void get_LEDs(Gamepad &pad, Snake &snake); |
el17oc | 12:60c856354406 | 22 | void print_countdown(N5110 &lcd, Snake &snake); |
el17oc | 10:ee781d18e0f6 | 23 | |
el17oc | 8:997f90c88246 | 24 | |
el17oc | 8:997f90c88246 | 25 | private: |
el17oc | 8:997f90c88246 | 26 | |
el17oc | 12:60c856354406 | 27 | |
el17oc | 12:60c856354406 | 28 | |
el17oc | 8:997f90c88246 | 29 | }; |
el17oc | 8:997f90c88246 | 30 | |
el17oc | 8:997f90c88246 | 31 | |
el17oc | 8:997f90c88246 | 32 | #endif |
el17oc | 8:997f90c88246 | 33 | |
el17oc | 8:997f90c88246 | 34 | |
el17oc | 8:997f90c88246 | 35 | |
el17oc | 8:997f90c88246 | 36 | |
el17oc | 8:997f90c88246 | 37 | |
el17oc | 8:997f90c88246 | 38 |