Rex Raj / Mbed 2 deprecated el17rrrs

Dependencies:   mbed Gamepad N5110 mbed-rtos

Committer:
RexRoshan
Date:
Fri Apr 19 13:43:22 2019 +0000
Revision:
1:45493d1d0689
Parent:
0:99fa5a619081
Child:
6:1fcfd331c047
The Instruction page is not being drawn although the switch state works;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
RexRoshan 1:45493d1d0689 1 #ifndef ENEMYBOSS_H
RexRoshan 1:45493d1d0689 2 #define ENEMYBOSS_H
RexRoshan 1:45493d1d0689 3
RexRoshan 1:45493d1d0689 4 #include "mbed.h"
RexRoshan 1:45493d1d0689 5 #include "N5110.h"
RexRoshan 1:45493d1d0689 6 #include "Gamepad.h"
RexRoshan 1:45493d1d0689 7 #include "Enemy.h"
RexRoshan 1:45493d1d0689 8
RexRoshan 1:45493d1d0689 9
RexRoshan 1:45493d1d0689 10 class EnemyBoss
RexRoshan 1:45493d1d0689 11 {
RexRoshan 1:45493d1d0689 12
RexRoshan 1:45493d1d0689 13 public:
RexRoshan 1:45493d1d0689 14 EnemyBoss();
RexRoshan 1:45493d1d0689 15 ~EnemyBoss();
RexRoshan 1:45493d1d0689 16
RexRoshan 1:45493d1d0689 17 void init(int a,int b,int c,int d,int e,int f, int speed);
RexRoshan 1:45493d1d0689 18 void enemyboss(N5110 &lcd);
RexRoshan 1:45493d1d0689 19 void update();
RexRoshan 1:45493d1d0689 20 void add_health_boss();
RexRoshan 1:45493d1d0689 21 void add_health_enemy1();
RexRoshan 1:45493d1d0689 22 void add_health_enemy2();
RexRoshan 1:45493d1d0689 23 int get_health_boss();
RexRoshan 1:45493d1d0689 24 int get_health_enemy1();
RexRoshan 1:45493d1d0689 25 int get_health_enemy2();
RexRoshan 1:45493d1d0689 26 int get_direction();
RexRoshan 1:45493d1d0689 27 void set_movement(Vector2D m);
RexRoshan 1:45493d1d0689 28 void set_enemyboss_pos(Vector2D e);
RexRoshan 1:45493d1d0689 29 void set_enemy1_pos(Vector2D d);
RexRoshan 1:45493d1d0689 30 void set_enemy2_pos(Vector2D c);
RexRoshan 1:45493d1d0689 31 Vector2D get_enemyboss_pos();
RexRoshan 1:45493d1d0689 32 Vector2D get_enemy1_pos();
RexRoshan 1:45493d1d0689 33 Vector2D get_enemy2_pos();
RexRoshan 1:45493d1d0689 34 Vector2D get_movement();
RexRoshan 1:45493d1d0689 35
RexRoshan 1:45493d1d0689 36 private:
RexRoshan 1:45493d1d0689 37
RexRoshan 1:45493d1d0689 38 Vector2D _movement;
RexRoshan 1:45493d1d0689 39 int _a;
RexRoshan 1:45493d1d0689 40 int _b;
RexRoshan 1:45493d1d0689 41 int _c;
RexRoshan 1:45493d1d0689 42 int _d;
RexRoshan 1:45493d1d0689 43 int _e;
RexRoshan 1:45493d1d0689 44 int _f;
RexRoshan 1:45493d1d0689 45 int _direction;
RexRoshan 1:45493d1d0689 46 int _speed;
RexRoshan 1:45493d1d0689 47 int _health;
RexRoshan 1:45493d1d0689 48 int _health1;
RexRoshan 1:45493d1d0689 49 int _health2;
RexRoshan 1:45493d1d0689 50
RexRoshan 1:45493d1d0689 51 };
RexRoshan 1:45493d1d0689 52
RexRoshan 1:45493d1d0689 53 #endif