![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test 1 doc
Diff: Ennemy/Enemy.h
- Revision:
- 11:b3024ab59fa5
- Parent:
- 10:9317a62bd4d0
- Child:
- 14:58887d7e1072
--- a/Ennemy/Enemy.h Wed May 27 02:00:08 2020 +0000 +++ b/Ennemy/Enemy.h Wed May 27 03:52:11 2020 +0000 @@ -5,7 +5,9 @@ #include "N5110.h" #include "Gamepad.h" #include "Bitmap.h" - + +#define TYPE_VERT 1 +#define TYPE_HOR 0 class Enemy @@ -16,7 +18,7 @@ ~Enemy(); void draw(N5110 &lcd); - void update(int _evx, int _evy); + void update(int _ev); void set_pos(int x, int y); Vector2D get_pos();