test 1 doc

Dependencies:   mbed Gamepad2

Revision:
10:9317a62bd4d0
Parent:
9:9830d3a78572
Child:
11:b3024ab59fa5
diff -r 9830d3a78572 -r 9317a62bd4d0 Ennemy/Enemy.h
--- a/Ennemy/Enemy.h	Wed May 27 00:49:39 2020 +0000
+++ b/Ennemy/Enemy.h	Wed May 27 02:00:08 2020 +0000
@@ -7,26 +7,30 @@
 #include "Bitmap.h"
 
 
+
 class Enemy
 {
 
 public:
-    Enemy(int spawnX, int spawnY);
+    Enemy(bool type,int spawnX, int spawnY);
     ~Enemy();
 
     void draw(N5110 &lcd);
-    void update(int eYpos, bool efall);
-    bool fell();
+    void update(int _evx, int _evy);
     void set_pos(int x, int y);
     Vector2D get_pos();
 
 
 private:
+    
+    void drawVertical(N5110 &lcd);
+    void drawHoriz(N5110 &lcd);
+    bool _type;
     int _enX;
     int _enY;
-    bool eDir;
-    bool _fell;
-
+    
+    bool xDir;
+    bool yDir;
 };