ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
8:90e789413e0b
Parent:
7:0d9cee90ab0d
Child:
9:5e53bca2a4c2
--- a/Engine/Engine.h	Sun Apr 14 17:07:02 2019 +0000
+++ b/Engine/Engine.h	Tue Apr 16 16:16:08 2019 +0000
@@ -24,27 +24,22 @@
     Floors _f4;
     Floors _f5;
     
-    int _x;
-    int _y;
     int _floors_height;
     int _floors_width;
     
     // x and y positions of the floors
-    int _f1x;
-    int _f2x;
-    int _f3x;
-    int _f4x;
-    int _f5x;
-    int _f1y;
-    int _f2y;
-    int _f3y;
-    int _f4y;
-    int _f5y;
-    
-    
-    int _doodler_radius;
+    Vector2D _f1_pos;
+    Vector2D _f2_pos;
+    Vector2D _f3_pos;
+    Vector2D _f4_pos;
+    Vector2D _f5_pos;
     
     Doodler _dood;
+    int _doodler_radius;
+    Vector2D _doodler_pos;
+    Vector2D _doodler_vel;
+    Vector2D _new_doodler_pos;
+    Vector2D _new_doodler_vel;
     
     Direction _d;
     float _mag;