-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPersonality.hpp
56 lines (43 loc) · 1.15 KB
/
Personality.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
//Kanellaki Maria Anna - 1115201400060
//Matanis Panagiotis - 1115201400297
#ifndef PROJECT_PERSONALITY_HPP
#define PROJECT_PERSONALITY_HPP
#include <string>
#include <list>
#include "BlackCard.hpp"
#include "Follower.hpp"
#include "Item.hpp"
using namespace std;
class Personality: public BlackCard {
string name;
Personalities typeP;
int cost;
bool tapped;
bool revealed;
int attack;
int defense;
int honour;
bool dead;
int maxFollowers;
list<Follower*> followers;
int maxItems;
list<Item*> items;
public:
Personality(string n, int t, int spT, int c, int at, int def, int hon, int mf, int mi);
bool PushGreenCard(GreenCard *);
void PrintPersonality();
int getPersonalityType();
void PersonalityConsequences();
~Personality() override;
bool isTapped() const;
bool isRevealed() const;
int getCost() const override;
int getAttack() const;
int getDefense() const;
int getHonour() const override;
int getMaxFollowers() const;
int getMaxItems() const;
void setTapped(bool tapped);
void setRevealed(bool revealed);
};
#endif //PROJECT_PERSONALITY_HPP