-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoss.hpp
executable file
·58 lines (54 loc) · 1.11 KB
/
Boss.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef BOSS_HPP
#define BOSS_HPP
#include "MyLibrary.hpp"
class Inventario;
class Weapon;
class Armor;
class Map;
class Player;
class SpecialAbility;
class Node;
#ifndef LISTA_PLAYERS
#define LISTA_PLAYERS
struct lista_players{ Player* p; lista_players* next;};
typedef lista_players* ptr_lista_players;
#endif
class Boss{
protected:
int x;
int y;
int life;
int strength;
int damage_max;
int damage_min;
int smoke_bomb;
int stunned;
bool smoked;
char name[25];
int stop;
public:
Boss(int, int,int ,int);
int get_x();
int get_y();
void change_currentx(int);
void change_currenty(int);
int get_life();
void change_life(int);
int get_damage_max();
int get_damage_min();
char* get_name();
bool is_dead();
bool boss_combat(Player*,bool,int*,Node*);
int get_smoke_bomb();
void dec_smoke_bomb();
bool is_stunned();
void set_stunned(int);
void dec_stunned();
bool is_smoked();
void change_smoked(bool);
int get_stop();
void dec_stop();
void set_stop(int);
void check_boss(Player*,Map*,ptr_lista_players,bool,int*,Node*,int);
};
#endif