ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
4:8ec314f806ae
Child:
5:8814d6de77d0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Doodler/Doodler.h	Thu Apr 11 14:44:14 2019 +0000
@@ -0,0 +1,26 @@
+#ifndef DOODLER_H
+#define DOODLER_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Floors.h"
+class Doodler{
+public:
+    Doodler();
+    ~Doodler();
+    void init(int x, int y, int radius);
+    void draw(N5110 &lcd);
+    Vector2D get_velocity(); //accesors
+    Vector2D get_pos(); 
+    void set_pos(Vector2D p); // mutators
+    void set_velocity (Vector2D v); 
+    
+private:
+    int _radius;
+    int _x;
+    int _y;
+    Vector2D _velocity;
+    
+};
+#endif
\ No newline at end of file