Aiming Wu
/
Game
Implement basic functions.
Diff: Copter/Copter.h
- Revision:
- 0:7173d91b03e1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Copter/Copter.h Fri May 03 13:03:59 2019 +0000 @@ -0,0 +1,27 @@ +#ifndef COPTER_H +#define COPTER_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" +#include "Bitmap.h" + +class Copter +{ +public: + + Copter(); + ~Copter(); + void init(); + Vector2D get_coord(Gamepad &pad); + void draw(N5110 &lcd); + int get_score(); + int get_h(); + +private: + + int _score; + int _h; + Vector2D _ans; +}; +#endif \ No newline at end of file