200943373MAZE

Dependencies:   mbed

Fork of 200943373MAZE by hongyun AHN

Revision:
0:df4347043adf
Child:
1:bd92ef8d00ac
diff -r 000000000000 -r df4347043adf Player/Player.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Player/Player.h	Thu May 04 11:25:43 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