-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDamageSpells.h
70 lines (60 loc) · 1.29 KB
/
DamageSpells.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
//
// Created by Alex on 09.09.18.
//
#ifndef TET_SPELL_H
#define TET_SPELL_H
class DamageSpells
{
private:
const int needMana = 0;
const int damage = 0;
public:
virtual const int getNeedMana() const;
virtual const int getDamage() const;
};
class WaterVortex : public DamageSpells
{
private:
const int needMana = 100;
const int damage = 100;
public:
const int getNeedMana() const override;
const int getDamage() const override;
};
class Fire_Ring : public DamageSpells
{
private:
const int needMana = 70;
const int damage = 70;
public:
const int getNeedMana() const override;
const int getDamage() const override;
};
class Frantic_Cold : public DamageSpells
{
private:
const int needMana = 300;
const int damage = 300;
public:
const int getNeedMana() const override;
const int getDamage() const override;
};
class PillarOfFire : public DamageSpells
{
private:
const int needMana = 200;
const int damage = 200;
public:
const int getNeedMana() const override;
const int getDamage() const override;
};
class Ligthning_Triedent : public DamageSpells
{
private:
const int needMana = 500;
const int damage = 500;
public:
const int getNeedMana() const override;
const int getDamage() const override;
};
#endif //TET_SPELL_H