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: Minerengine.h
- Revision:
- 7:c6e6ec0e3396
- Parent:
- 6:866281ce2b44
- Child:
- 8:9bc80e40ac0d
--- a/Minerengine.h Fri Mar 22 02:00:48 2019 +0000
+++ b/Minerengine.h Mon Mar 25 11:19:20 2019 +0000
@@ -41,15 +41,17 @@
void miner_draw(N5110 &lcd);
void miner_gravity(N5110 &lcd);
void miner_jump(N5110 &lcd, Gamepad &pad);
-
+ Vector2D get_pos();
+ void set_pos(Vector2D p);
+ void miner_init();
+ int x;
private:
Direction _d;
int _direction;
int _jump;
- int _x;
- int _y;
+
};
#endif
\ No newline at end of file