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: Player/Player.h
- Revision:
- 7:68e06dda79f7
- Parent:
- 4:afbf3dd71403
- Child:
- 8:21b6d4dbce44
diff -r 2ca1516ec1e2 -r 68e06dda79f7 Player/Player.h --- a/Player/Player.h Wed Apr 10 11:03:07 2019 +0000 +++ b/Player/Player.h Wed Apr 17 12:39:46 2019 +0000 @@ -6,6 +6,7 @@ #include "Gamepad.h" #include "Bitmap.h" #include "Sprite.h" +#include "Level.h" #define GRAVITY 2 /*Sprite Class*/ @@ -17,7 +18,10 @@ public: Player(); ~Player(); - void update(Gamepad &pad); + void update(Gamepad &pad, Block blocks [],int number_of_blocks); + +private: + int _orientation; }; #endif \ No newline at end of file