Stick_Runner

Dependencies:   FXOS8700CQ Gamepad N5110 SDFileSystem mbed

Revision:
0:12cfe63faa6a
Child:
1:db9ff66f67c8
diff -r 000000000000 -r 12cfe63faa6a Gems/Gems.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Gems/Gems.h	Fri Apr 28 09:00:21 2017 +0000
@@ -0,0 +1,30 @@
+#ifndef Gems_H
+#define Gems_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+class Gems
+{
+public:
+
+    Gems();
+    ~Gems();
+    void init();
+    void draw(N5110 &lcd);
+    void update();
+    void Gems_Status(Vector2D p);
+    void Gems_Score(Vector2D p);
+    void add_score();
+    int get_score();
+    Vector2D get_pos();
+    bool get_status();
+
+private:
+int _x;
+int _y;
+bool _status;
+int counter;
+};
+#endif
\ No newline at end of file