ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el19zf

Dependencies:   mbed

Revision:
3:b8fbaefc496c
Parent:
2:67b51ee7fc34
Child:
4:b12a49f0b730
--- a/People/People.h	Sun Apr 12 04:35:32 2020 +0000
+++ b/People/People.h	Sun Apr 12 12:56:49 2020 +0000
@@ -26,15 +26,14 @@
     //accessors   
     void set_pos(Vector2D p);
         
-    void set_velocity(Vector2D v);
+    void set_velocity(Direction d,float mag);
         
     //mutators
     Vector2D get_pos();
-        
-    Vector2D get_velocity();
-        
+       
 private:
-    Vector2D _velocity;
+    Direction _d;
+    float _mag;
     int _x;
     int _y;
 };