![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
MenuClasses/Tutorial/Tutorial.h@60:d3a9e0e4a0de, 2019-04-29 (annotated)
- Committer:
- AhmedPlaymaker
- Date:
- Mon Apr 29 14:40:42 2019 +0000
- Revision:
- 60:d3a9e0e4a0de
- Child:
- 78:10e5cc013806
Created Tutorials class and added some sprites in it i will use later to implement
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AhmedPlaymaker | 60:d3a9e0e4a0de | 1 | #ifndef TUTORIAL_H |
AhmedPlaymaker | 60:d3a9e0e4a0de | 2 | #define TUTORIAL_H |
AhmedPlaymaker | 60:d3a9e0e4a0de | 3 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 4 | #include "mbed.h" |
AhmedPlaymaker | 60:d3a9e0e4a0de | 5 | #include "N5110.h" |
AhmedPlaymaker | 60:d3a9e0e4a0de | 6 | #include "Gamepad.h" |
AhmedPlaymaker | 60:d3a9e0e4a0de | 7 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 8 | class Tutorial |
AhmedPlaymaker | 60:d3a9e0e4a0de | 9 | { |
AhmedPlaymaker | 60:d3a9e0e4a0de | 10 | public: |
AhmedPlaymaker | 60:d3a9e0e4a0de | 11 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 12 | Tutorial(); |
AhmedPlaymaker | 60:d3a9e0e4a0de | 13 | ~Tutorial(); |
AhmedPlaymaker | 60:d3a9e0e4a0de | 14 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 15 | /** Implement Tutorial |
AhmedPlaymaker | 60:d3a9e0e4a0de | 16 | * |
AhmedPlaymaker | 60:d3a9e0e4a0de | 17 | * This function is used to configure Tutorial. |
AhmedPlaymaker | 60:d3a9e0e4a0de | 18 | */ |
AhmedPlaymaker | 60:d3a9e0e4a0de | 19 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 20 | void Implement(N5110 &lcd, Gamepad &pad); |
AhmedPlaymaker | 60:d3a9e0e4a0de | 21 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 22 | /** game Pad |
AhmedPlaymaker | 60:d3a9e0e4a0de | 23 | * |
AhmedPlaymaker | 60:d3a9e0e4a0de | 24 | * This function introduces the gamepad to the user. |
AhmedPlaymaker | 60:d3a9e0e4a0de | 25 | */ |
AhmedPlaymaker | 60:d3a9e0e4a0de | 26 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 27 | void gamePad(N5110 &lcd, Gamepad &pad); |
AhmedPlaymaker | 60:d3a9e0e4a0de | 28 | |
AhmedPlaymaker | 60:d3a9e0e4a0de | 29 | }; |
AhmedPlaymaker | 60:d3a9e0e4a0de | 30 | #endif |