Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Gamepad N5110 mbed-rtos
Diff: Enemy/EnemyBoss.h
- Revision:
- 1:45493d1d0689
- Parent:
- 0:99fa5a619081
- Child:
- 6:1fcfd331c047
--- 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