ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
15:4efa04a6a376
Parent:
14:529f798adae4
Child:
20:a359092079b0
--- a/Floors/Floors.h	Sun Apr 21 16:10:19 2019 +0000
+++ b/Floors/Floors.h	Tue Apr 23 23:14:06 2019 +0000
@@ -4,7 +4,6 @@
 #include "mbed.h"
 #include "N5110.h"
 #include "Gamepad.h"
-#include "Doodler.h"
 
 class Floors{
 public:
@@ -12,7 +11,7 @@
     ~Floors();
     void init(int y, int width, int height);
     void draw(N5110 &lcd);
-    void update();
+    void update(float doodler_pos_y);
     Vector2D get_position(); 
     void set_position(Vector2D pos); // mutators
     void set_score(int score);
@@ -20,6 +19,7 @@
 private:
     int _height;
     int _width;
+    float _doodler_pos_y;
     Vector2D _position;
     
 };