-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSorcerer.h
More file actions
45 lines (28 loc) · 1.13 KB
/
Sorcerer.h
File metadata and controls
45 lines (28 loc) · 1.13 KB
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
//
// Created by Nativ on 18/01/2025.
//
#ifndef SORCERER_H
#define SORCERER_H
#include "Player.h"
class Sorcerer : public Player {
//special ability once in 4 rounds
public:
//constructors
Sorcerer():Player(){};
Sorcerer(const string& name, int maxAmountOfLife, int damageValue) : Player(name, maxAmountOfLife, damageValue) {};
//destructor
virtual ~Sorcerer();
//copy constructor and assignment operator
Sorcerer(const Sorcerer& other) : Player(other) {};
Sorcerer& operator=(const Sorcerer& other);
virtual string getType() const;
bool IsItPossibleUseTheSpecialAttack() const;
//Sorcerer& operator-=(const Entity& other);//reduce the currentAmountOfLife according to the received Monster's attackValue
//Sorcerer& specialAttack(const Entity& other);//?
//Sorcerer& attack(Entity &other);
//double getDamageMultiplier(const Entity& other) const;
Player &PlayerAttackMonster(Monster &other);
Sorcerer &PlayerAttackedByGoblin(const Monster &other);
Sorcerer &PlayerAttackedByDragon(const Monster &other);
};
#endif //SORCERER_H