bird

Dependencies:   mbed

Revision:
0:3887ebee1b37
Child:
2:fb9c05867677
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/structure/structure.h	Fri May 03 17:51:38 2019 +0000
@@ -0,0 +1,37 @@
+#include "bird.h"
+
+
+
+struct Data1{
+    int m; //障碍物左上角的点的横坐标
+    int n; // 障碍物间隔左上角点的纵坐标
+    int q; //the second
+    int o; // the third
+    int p; // the second  heng zuobiao
+    int e; // the third  heng zuobiao
+    int t;// 分数
+    };
+    
+    
+    
+class structure
+{
+public:
+   
+   void init(int size,int speed);
+   void draw(N5110 &lcd);
+   void init();
+   Data1 get_data1();
+   void update();
+ 
+    
+private:
+  int _m; //障碍物左上角的点的横坐标
+  int _n; // 障碍物间隔左上角点的纵坐标
+  int _q; //the second
+  int _o; // the third
+  int _p; // the second  heng zuobiao
+  int _e; // the third  heng zuobiao
+  int _t; // the score
+  Data1 _data1;
+};
\ No newline at end of file