勇帜 周
/
2645_Final_project_1
bird
bird/bird.h
- Committer:
- 1013373474
- Date:
- 2019-05-03
- Revision:
- 0:3887ebee1b37
- Child:
- 1:8672e52115e3
File content as of revision 0:3887ebee1b37:
#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; };