copy

Dependencies:   Gamepad N5110 mbed

Revision:
0:ffd6b3f45a8c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Player/Player.h	Wed May 03 22:37:17 2017 +0000
@@ -0,0 +1,29 @@
+#ifndef PLAYER_H
+#define PLAYER_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Background.h"
+
+class Player
+{
+public:
+
+    Player();
+    ~Player();
+    void init();
+    void draw(N5110 &lcd);
+    void update(Direction d,N5110 &lcd,Gamepad &pad);
+  
+    Vector2D get_pos();
+   
+private:
+
+    Background _background;
+    
+    int _x;
+    int _y;
+
+};
+#endif
\ No newline at end of file