ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
7:0d9cee90ab0d
Parent:
6:848d1e4c1a31
Child:
8:90e789413e0b
--- a/Engine/Engine.h	Sat Apr 13 19:50:00 2019 +0000
+++ b/Engine/Engine.h	Sun Apr 14 17:07:02 2019 +0000
@@ -15,27 +15,19 @@
     void read_input(Gamepad &pad);
     void update(Gamepad &pad);
     void draw(N5110 &lcd);
-    
-private:
     void check_floors_collision(Gamepad &pad);
     
-    Floors _f1;
+private:    
+    Floors _f1; // cambiar a _f[5] (array de pisos)
     Floors _f2;
     Floors _f3;
     Floors _f4;
     Floors _f5;
-    Floors _f6;
-    Floors _f7;
-    Floors _f8;
-    Floors _f9;
-    Floors _f10;
-    
     
     int _x;
     int _y;
     int _floors_height;
     int _floors_width;
-    int _doodler_radius;
     
     // x and y positions of the floors
     int _f1x;
@@ -43,26 +35,19 @@
     int _f3x;
     int _f4x;
     int _f5x;
-    int _f6x;
-    int _f7x;
-    int _f8x;
-    int _f9x;
-    int _f10x;
     int _f1y;
     int _f2y;
     int _f3y;
     int _f4y;
     int _f5y;
-    int _f6y;
-    int _f7y;
-    int _f8y;
-    int _f9y;
-    int _f10y;
+    
     
+    int _doodler_radius;
     
     Doodler _dood;
     
     Direction _d;
     float _mag;
+    
 };
 #endif
\ No newline at end of file