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: Ball/Ball.h
- Revision:
- 13:e5a36fbd48ae
- Parent:
- 11:2cf0d4ce8677
- Child:
- 17:5104ecef5bd0
--- a/Ball/Ball.h Thu Apr 11 21:42:03 2019 +0000
+++ b/Ball/Ball.h Fri Apr 12 17:01:47 2019 +0000
@@ -16,10 +16,9 @@
~Ball();
//methods for engine
void init(int radius);
+ void update(FXOS8700CQ &accelerometer);
void draw(N5110 &lcd);
- void update(FXOS8700CQ &accelerometer);
//accessor methods
- Vector2D get_accel();
Vector2D get_velocity();
Vector2D get_position();
int get_radius();
@@ -33,6 +32,5 @@
int _x;
int _y;
Vector2D _velocity;
- Vector2D _accel;
};
#endif
\ No newline at end of file