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: Paddle/Paddle.h
- Revision:
- 16:1761dfe801af
- Parent:
- 9:f6f0f39538c7
- Child:
- 69:db1354676fde
diff -r b867a6620f96 -r 1761dfe801af Paddle/Paddle.h
--- a/Paddle/Paddle.h Tue Apr 23 17:09:47 2019 +0000
+++ b/Paddle/Paddle.h Tue Apr 23 17:51:42 2019 +0000
@@ -19,6 +19,8 @@
int get_score();
Vector2D get_pos();
int get_lives();
+ void set_tilt();
+ void set_joy();
private:
@@ -29,6 +31,7 @@
int _speed;
int _score;
int _lives;
+ bool _tilt;
};
#endif
\ No newline at end of file