![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test 1 doc
Diff: Ennemy/Enemy.h
- Revision:
- 8:d19b30a6cd69
- Child:
- 9:9830d3a78572
diff -r 530ca713d2b2 -r d19b30a6cd69 Ennemy/Enemy.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Ennemy/Enemy.h Tue May 26 22:15:42 2020 +0000 @@ -0,0 +1,32 @@ +#ifndef ENEMY_H +#define ENEMY_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" +#include "Bitmap.h" + + +class Enemy +{ + +public: + Enemy(int spawnX, int spawnY); + ~Enemy(); + + void draw(N5110 &lcd); + void update(int eYpos, bool efall); + bool fell(); + Vector2D get_pos(); + + +private: + int _enX; + int _enY; + bool eDir; + bool _fell; + +}; + + +#endif \ No newline at end of file