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: Doodler/Doodler.h
- Revision:
- 22:0d2ac98a8b48
- Parent:
- 17:74de8c17ddac
- Child:
- 23:9be87557b89a
--- a/Doodler/Doodler.h Wed May 01 16:40:35 2019 +0000
+++ b/Doodler/Doodler.h Mon May 06 11:21:39 2019 +0000
@@ -18,10 +18,12 @@
float get_position_y();
void set_velocity(float vel_x, double vel_y);
void set_position(float pos_x, float pos_y);
+ void check_rectangle();
+ void change_pos(Direction d, float mag);
+ void check_velocity(double velocity_y);
private:
-
int _radius;
// since the velocity will be added, it will not be an integer so it cannot be a vector
float _position_x;