-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminion.h
34 lines (29 loc) · 1.12 KB
/
minion.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
#ifndef _MINION_H_
#define _MINION_H_
#include "card.h"
#include "enchantment.h"
#include <string>
#include <vector>
using namespace std;
class Minion : public Card {
Enchantment *enchantment;
vector<string> ability;
public:
Minion(string name, int cost, int attack, int defense);
Minion(string name, int cost, int attack, int defense, string ability_txt);
Minion(string name, int cost, int attack, int defense, string ability_txt, int ability_cost);
Minion(string name, int cost, int attack, int defense, string ability_txt, vector<string> triggers);
Minion(string name, int cost, int attack, int defense, string ability_txt, int ability_cost, vector<string> ability);
Minion(string name, int cost, int attack, int defense, string ability_txt, vector<string> triggers, vector<string> ability);
int getStrength() override;
int getDefense() override;
string getType() override;
int get_actions() override;
int getAbilityCost() override;
card_template_t display() override;
void setEnchantment(Enchantment *e);
Enchantment *getEnchantment();
vector<string> ability_type();
bool removeEnchantment();
};
#endif