ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18jgb

Dependencies:   mbed

Revision:
7:04a7826ff7e4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Pup.h	Sun May 17 17:05:13 2020 +0000
@@ -0,0 +1,34 @@
+#ifndef PUP_H
+#define PUP_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Aim.h"
+#include "Heston.h"
+
+/** Power up Class
+@date april 2020
+*/ 
+
+class Pup
+{
+
+public:
+    Pup();
+    ~Pup();
+    void init();
+    void draw(N5110 &lcd, bool state);
+    void position(int x, int y);
+    Vector2D get_pos();
+    
+private:
+
+    int _height;
+    int _width;
+    int _x;
+    int _y;
+
+};
+
+#endif
\ No newline at end of file