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.
Diff: main.h
- Revision:
- 7:ffbc921c20f7
- Parent:
- 6:478f81e79d9b
- Child:
- 8:421f94b816c4
--- a/main.h Tue May 07 15:19:56 2019 +0000 +++ b/main.h Tue May 07 15:33:17 2019 +0000 @@ -63,9 +63,32 @@ }; // Game Engine ---------------------- -void game_engine_run(); + +class GameEngine +{ + + public: + + GameEngine(); + + ~GameEngine(); + + void gameengine_run(Gamepad &pad, N5110 &lcd); +}; // Donkey ----- -void donkeykong_x_movement(); + +class Donkey +{ + + public: + + Donkey(); + + ~Donkey(); + + void donkeykong_movement(Gamepad &pad, N5110 &lcd); + +}; int game_dk_walking_right_1[16][16] = { {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,},