Final Submission. I have read and agreed with Statement of Academic Integrity.
Dependencies: mbed Gamepad N5110 Joystick
main.h@10:aedca0082855, 2019-05-09 (annotated)
- Committer:
- el16dlc
- Date:
- Thu May 09 13:52:41 2019 +0000
- Revision:
- 10:aedca0082855
- Parent:
- 9:a7ea33e6bd82
Final
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
el16dlc | 1:b9f3b7d869d8 | 1 | #ifndef MAIN_H |
el16dlc | 1:b9f3b7d869d8 | 2 | #define MAIN_H |
el16dlc | 1:b9f3b7d869d8 | 3 | |
el16dlc | 1:b9f3b7d869d8 | 4 | // LIBRARIES |
el16dlc | 1:b9f3b7d869d8 | 5 | #include "mbed.h" |
el16dlc | 1:b9f3b7d869d8 | 6 | #include "N5110.h" |
el16dlc | 1:b9f3b7d869d8 | 7 | #include "Gamepad.h" |
el16dlc | 1:b9f3b7d869d8 | 8 | #include "Snake.h" |
el16dlc | 1:b9f3b7d869d8 | 9 | #include "Game_engine.h" |
el16dlc | 1:b9f3b7d869d8 | 10 | |
el16dlc | 1:b9f3b7d869d8 | 11 | // INSTANCES |
el16dlc | 1:b9f3b7d869d8 | 12 | extern N5110 lcd; |
el16dlc | 1:b9f3b7d869d8 | 13 | extern Gamepad gamepad; |
el16dlc | 1:b9f3b7d869d8 | 14 | |
el16dlc | 1:b9f3b7d869d8 | 15 | // FUNCTION PROTOTYPES |
el16dlc | 1:b9f3b7d869d8 | 16 | void Init(); |
el16dlc | 1:b9f3b7d869d8 | 17 | void Welcome(); |
el16dlc | 8:264398d3c610 | 18 | void Menu(); |
el16dlc | 1:b9f3b7d869d8 | 19 | void render(); |
el16dlc | 4:0fc3441556e1 | 20 | void update(); |
el16dlc | 9:a7ea33e6bd82 | 21 | void game_over(); |
el16dlc | 1:b9f3b7d869d8 | 22 | |
el16dlc | 1:b9f3b7d869d8 | 23 | #endif |