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: lib/Donkey/Donkey.h
- Revision:
- 11:b288d01533cc
- Parent:
- 10:28575a6eaa13
- Child:
- 13:94abfe83a294
--- a/lib/Donkey/Donkey.h Tue May 07 22:49:13 2019 +0000 +++ b/lib/Donkey/Donkey.h Tue May 07 23:01:46 2019 +0000 @@ -12,16 +12,16 @@ #include "Gamepad.h" #include "main.h" + + extern int donkeykong_x; + extern int donkeykong_y; + extern int donkey_kong_speed; + extern int donkey_direction; class Donkey { public: - int donkeykong_x; - int donkeykong_y; - int donkey_kong_speed; - int donkey_direction; - Donkey(); ~Donkey();