Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
lib/GameEngine/GameEngine.h@12:50a7abf21f18, 2019-05-08 (annotated)
- Committer:
- Kern_EL17KJTF
- Date:
- Wed May 08 01:28:25 2019 +0000
- Revision:
- 12:50a7abf21f18
- Parent:
- 11:b288d01533cc
- Child:
- 21:1f44f5493c0d
- Child:
- 33:3894a7f846a0
Game basics fully working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kern_EL17KJTF | 10:28575a6eaa13 | 1 | #ifndef GAMEENGINE_H |
Kern_EL17KJTF | 10:28575a6eaa13 | 2 | #define GAMEENGINE_H |
Kern_EL17KJTF | 10:28575a6eaa13 | 3 | /* |
Kern_EL17KJTF | 10:28575a6eaa13 | 4 | ELEC2645 Project |
Kern_EL17KJTF | 10:28575a6eaa13 | 5 | GameEngine.h |
Kern_EL17KJTF | 10:28575a6eaa13 | 6 | Class file for GameEngine in Donkey Kong game. |
Kern_EL17KJTF | 10:28575a6eaa13 | 7 | */ |
Kern_EL17KJTF | 10:28575a6eaa13 | 8 | |
Kern_EL17KJTF | 10:28575a6eaa13 | 9 | #include "mbed.h" |
Kern_EL17KJTF | 10:28575a6eaa13 | 10 | #include "N5110.h" |
Kern_EL17KJTF | 10:28575a6eaa13 | 11 | #include "Gamepad.h" |
Kern_EL17KJTF | 12:50a7abf21f18 | 12 | #include "Donkey.h" |
Kern_EL17KJTF | 10:28575a6eaa13 | 13 | #include "Barrel.h" |
Kern_EL17KJTF | 10:28575a6eaa13 | 14 | #include "Banana.h" |
Kern_EL17KJTF | 12:50a7abf21f18 | 15 | |
Kern_EL17KJTF | 10:28575a6eaa13 | 16 | |
Kern_EL17KJTF | 10:28575a6eaa13 | 17 | |
Kern_EL17KJTF | 10:28575a6eaa13 | 18 | class GameEngine |
Kern_EL17KJTF | 10:28575a6eaa13 | 19 | { |
Kern_EL17KJTF | 10:28575a6eaa13 | 20 | |
Kern_EL17KJTF | 10:28575a6eaa13 | 21 | public: |
Kern_EL17KJTF | 10:28575a6eaa13 | 22 | |
Kern_EL17KJTF | 10:28575a6eaa13 | 23 | GameEngine(); |
Kern_EL17KJTF | 10:28575a6eaa13 | 24 | |
Kern_EL17KJTF | 10:28575a6eaa13 | 25 | ~GameEngine(); |
Kern_EL17KJTF | 10:28575a6eaa13 | 26 | |
Kern_EL17KJTF | 12:50a7abf21f18 | 27 | void gameengine_run(Gamepad &pad, N5110 &lcd, Barrel &barrel, Banana &banana, Donkey &dky); |
Kern_EL17KJTF | 12:50a7abf21f18 | 28 | void gameengine_score(Gamepad &pad, N5110 &lcd, Banana &banana); |
Kern_EL17KJTF | 10:28575a6eaa13 | 29 | }; |
Kern_EL17KJTF | 10:28575a6eaa13 | 30 | |
Kern_EL17KJTF | 10:28575a6eaa13 | 31 | #endif |