ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
16:e0542761fc8c
Parent:
15:4efa04a6a376
Child:
17:74de8c17ddac
diff -r 4efa04a6a376 -r e0542761fc8c Doodler/Doodler.h
--- a/Doodler/Doodler.h	Tue Apr 23 23:14:06 2019 +0000
+++ b/Doodler/Doodler.h	Wed Apr 24 10:33:39 2019 +0000
@@ -11,7 +11,7 @@
     ~Doodler();
     void init(int radius, float position_x, float position_y, double velocity_y);
     void draw(N5110 &lcd);    
-    void update(Direction d, float mag);
+    void update(Direction d, float mag, bool button_Y);
     float get_velocity_x();
     double get_velocity_y();
     float get_position_x(); 
@@ -21,6 +21,7 @@
     
     
 private:
+    
     int _radius;
     // since the velocity will be added, it will not be an integer so it cannot be a vector
     float _position_x;