bird

Dependencies:   mbed

Revision:
0:3887ebee1b37
Child:
2:fb9c05867677
diff -r 000000000000 -r 3887ebee1b37 structure_2/structure_2.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/structure_2/structure_2.h	Fri May 03 17:51:38 2019 +0000
@@ -0,0 +1,39 @@
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+
+
+struct Data2{
+    int mm; //障碍物左上角的点的横坐标
+    int nn; // 障碍物间隔左上角点的纵坐标
+    int qq; //the second
+    int oo; // the third
+    int pp; // the second  heng zuobiao
+    int ee; // the third  heng zuobiao
+    int tt;// 分数
+    };
+    
+    
+    
+class structure_2
+{
+public:
+   
+   void init(int size,int speed);
+   void draw(N5110 &lcd);
+   void init();
+   Data2 get_data2();
+   void update();
+ 
+    
+private:
+  int _mm; //障碍物左上角的点的横坐标
+  int _nn; // 障碍物间隔左上角点的纵坐标
+  int _qq; //the second
+  int _oo; // the third
+  int _pp; // the second  heng zuobiao
+  int _ee; // the third  heng zuobiao
+  int _tt; // the score
+  Data2 _data2;
+};
\ No newline at end of file