Aiming Wu
/
Flappy_Bird
Implement basic functions
Diff: Begin/Begin.h
- Revision:
- 0:64bd9f996099
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Begin/Begin.h Fri May 03 13:05:24 2019 +0000 @@ -0,0 +1,33 @@ +#ifndef BEGIN_H +#define BEGIN_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" +#include "Wall.h" +#include "Bird.h" + +class Begin +{ +public: + Begin(); + ~Begin(); + void init(); + int draw(N5110 &lcd, Gamepad &pad); + +private: + + int _m; + int _s; + int _a1; + int _b1; + int _a2; + int _b2; + int _a3; + int _b3; + int _h; + Bird _Bird; + Wall _Wall; +}; + +#endif