Rex Raj / Mbed 2 deprecated el17rrrs

Dependencies:   mbed Gamepad N5110 mbed-rtos

Revision:
1:45493d1d0689
Parent:
0:99fa5a619081
Child:
6:1fcfd331c047
diff -r 99fa5a619081 -r 45493d1d0689 Enemy/EnemyBoss.h
--- a/Enemy/EnemyBoss.h	Sat Apr 13 01:13:53 2019 +0000
+++ b/Enemy/EnemyBoss.h	Fri Apr 19 13:43:22 2019 +0000
@@ -0,0 +1,53 @@
+#ifndef ENEMYBOSS_H
+#define ENEMYBOSS_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Enemy.h"
+
+
+class EnemyBoss
+{
+
+public:
+    EnemyBoss();
+    ~EnemyBoss();
+    
+    void init(int a,int b,int c,int d,int e,int f, int speed);
+    void enemyboss(N5110 &lcd);
+    void update();
+    void add_health_boss();
+    void add_health_enemy1();
+    void add_health_enemy2();
+    int  get_health_boss();
+    int  get_health_enemy1();
+    int  get_health_enemy2();
+    int get_direction();
+    void set_movement(Vector2D m);
+    void set_enemyboss_pos(Vector2D e);
+    void set_enemy1_pos(Vector2D d);
+    void set_enemy2_pos(Vector2D c);
+    Vector2D get_enemyboss_pos();
+    Vector2D get_enemy1_pos();
+    Vector2D get_enemy2_pos();
+    Vector2D get_movement();
+    
+private:
+   
+    Vector2D _movement;
+    int _a;
+    int _b;
+    int _c;
+    int _d;
+    int _e;
+    int _f;
+    int _direction;
+    int _speed;
+    int _health;
+    int _health1;
+    int _health2;
+
+};
+
+#endif