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:
- 10:40c77d69e83c
- Parent:
- 9:ce0a12fb205b
- Child:
- 11:2cf0d4ce8677
diff -r ce0a12fb205b -r 40c77d69e83c Ball/Ball.h
--- a/Ball/Ball.h Wed Apr 10 12:54:56 2019 +0000
+++ b/Ball/Ball.h Thu Apr 11 08:08:52 2019 +0000
@@ -22,9 +22,11 @@
Vector2D get_accel();
Vector2D get_velocity();
Vector2D get_position();
+ int get_radius();
//mutator methods
void set_velocity(Vector2D vel);
void set_position(Vector2D pos);
+ void set_radius(int radius);
private:
_radius;