bird

Dependencies:   mbed

Revision:
0:3887ebee1b37
Child:
1:8672e52115e3
diff -r 000000000000 -r 3887ebee1b37 bird/bird.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bird/bird.h	Fri May 03 17:51:38 2019 +0000
@@ -0,0 +1,28 @@
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+    
+    
+    
+struct Data{
+    int y;
+    };      
+    
+class bird
+{
+
+    
+public:
+   
+    void init(int size,int speed);
+    void draw(N5110 &lcd);
+    void check(Gamepad &pad);
+    void init();
+    Data get_data();
+    void update();
+
+private:
+    int _y;   
+    Data _data;
+};