ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
4:8ec314f806ae
Parent:
3:116913e97fd7
Child:
5:8814d6de77d0
--- a/Engine/Engine.h	Wed Apr 10 19:07:41 2019 +0000
+++ b/Engine/Engine.h	Thu Apr 11 14:44:14 2019 +0000
@@ -5,15 +5,18 @@
 #include "N5110.h"
 #include "Gamepad.h"
 #include "Floors.h"
+#include "Doodler.h"
 
 class Engine{
 public:
     Engine();
     ~Engine();
-    void init(int floors_width, int floors_height);
+    void init(int floors_width, int floors_height, int doodler_radius);
     void draw(N5110 &lcd);
     
 private:
+    Doodler _dood;
+    
     Floors _f1;
     Floors _f2;
     Floors _f3;
@@ -25,10 +28,16 @@
     Floors _f9;
     Floors _f10;
     
+    
     int _x;
     int _y;
     int _floors_height;
     int _floors_width;
+    int _doodler_radius;
+    
+    //initial position of doodler:
+    int _doodx;
+    int _doody;
     
     // x and y positions of the floors
     int _f1x;