Guillaume Lefrant / Mbed 2 deprecated gtvl2_game

Dependencies:   C12832 FXOS8700Q mbed-rtos mbed

Revision:
0:9ec880239b3c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Player.h	Mon Feb 15 18:18:16 2016 +0000
@@ -0,0 +1,21 @@
+#ifndef _PLAYER_H_
+# define _PLAYER_H_
+
+# include "main.h"
+
+class Player
+{
+public:
+    Player();
+    bool        move(const int&, const int&);
+    bool        die();
+    int         getX() const;
+    int         getY() const;
+    bool        isAlive() const;
+private:
+    float       x;
+    float       y;
+    bool        alive;
+};
+
+#endif /* _PLAYER_H_ */
\ No newline at end of file