勇帜 周
/
2645_Final_project_1
bird
bird/bird.h
- Committer:
- 1013373474
- Date:
- 2019-05-04
- Revision:
- 1:8672e52115e3
- Parent:
- 0:3887ebee1b37
- Child:
- 2:fb9c05867677
File content as of revision 1:8672e52115e3:
#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, N5110 &lcd); void init(); Data get_data(); void update(); private: int _y; Data _data; };