-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRaid.h
45 lines (37 loc) · 961 Bytes
/
Raid.h
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
class Raid
{
private:
Monster** fighters;
Boss** bosses;
Weapon* weapons;
Shield* shields;
int numoffighters;
int numofbosses;
int numofweapons;
int numofshields;
public:
Raid();
~Raid();
void addFighter(Monster&);
void addBoss(Boss&);
void addWeapon(const Weapon&);
void addShield(const Shield&);
const Monster& getFighter() const;
const Monster& getBoss() const;
const Weapon& getWeapon() const;
const Shield& getShield() const;
void setNumOfFighters(int);
void setNumOfBosses(int);
void setNumOfWeapons(int);
void setNumOfShields(int);
const int getNumOfFighters() const;
const int getNumOfBosses() const;
const int getNumOfWeapons() const;
const int getNumOfShields() const;
void startFight();
void fbossPrint() const;
void nbossPrint() const;
void lbossPrint() const;
void bossesWin() const;
void fightersWin() const;
};