Albert Tan-Mulligan
/
ELEC2645_Project_el18ajst
Testing Documentation
Diff: Enemy/Enemy.h
- Revision:
- 5:51fd6635141f
- Child:
- 6:546eba371942
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Enemy/Enemy.h Wed May 20 21:39:09 2020 +0000 @@ -0,0 +1,23 @@ +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" + + +class Enemy +{ +public: + + Enemy(); + ~Enemy(); + void init(); + void draw(N5110 &lcd); + void update(int player_x, int player_y); + int get_x(); + int get_y(); + +private: + + int _x; + int _y; + int _speed; +}; \ No newline at end of file