bird

Dependencies:   mbed

structure/structure.h

Committer:
1013373474
Date:
2019-05-03
Revision:
0:3887ebee1b37
Child:
2:fb9c05867677

File content as of revision 0:3887ebee1b37:

#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;
};