ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
23:9be87557b89a
Parent:
22:0d2ac98a8b48
Child:
24:67dc71a8f009
diff -r 0d2ac98a8b48 -r 9be87557b89a Doodler/Doodler.h
--- a/Doodler/Doodler.h	Mon May 06 11:21:39 2019 +0000
+++ b/Doodler/Doodler.h	Wed May 08 08:46:11 2019 +0000
@@ -9,7 +9,7 @@
 public:
     Doodler();
     ~Doodler();
-    void init(int radius, float position_x, float position_y, double velocity_y);
+    void init(float position_x, float position_y, double velocity_y);
     void draw(N5110 &lcd);    
     void update(Direction d, float mag);
     float get_velocity_x();
@@ -20,11 +20,10 @@
     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);
+    void check_velocity();
     
     
 private:
-    int _radius;
     // since the velocity will be added, it will not be an integer so it cannot be a vector
     float _position_x;
     float _position_y;