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.
Dependencies: mbed
Diff: Game/Game.h
- Revision:
- 4:999ab7216827
- Parent:
- 3:72e0f4d267ed
diff -r 72e0f4d267ed -r 999ab7216827 Game/Game.h
--- a/Game/Game.h Thu Apr 11 14:53:08 2019 +0000
+++ b/Game/Game.h Sat Apr 13 16:45:30 2019 +0000
@@ -12,17 +12,16 @@
public:
Game();
~Game();
- void init(int momentum);
+ void init();
void read_input(Gamepad &pad);
void drawSprite(N5110 &lcd);
void movement(Gamepad &pad);
private:
Smiley smiley;
- Platform platform;
- int momen;
+ int momenx;
+ int momeny;
Direction dir;
- float mag;
};