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/Barrel/Barrel.h
- Revision:
- 11:b288d01533cc
- Parent:
- 10:28575a6eaa13
- Child:
- 18:80c47cfe9802
--- a/lib/Barrel/Barrel.h Tue May 07 22:49:13 2019 +0000 +++ b/lib/Barrel/Barrel.h Tue May 07 23:01:46 2019 +0000 @@ -12,24 +12,23 @@ #include "Barrel.h" #include "Donkey.h" + extern int barrel_x; + extern int barrel_y; + extern int barrel_speed; + extern int barrel_min; + extern int barrel_max; + extern float barrel_time; + extern int running; + class Barrel { public: - int barrel_x; - int barrel_y; - int barrel_speed; - int barrel_min; - int barrel_max; - float barrel_time; - int running; Barrel(); ~Barrel(); - - void barrel_init(); void barrel_drop(Gamepad &pad, N5110 &lcd, Donkey &dky); };