-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCard.cc
More file actions
executable file
·39 lines (28 loc) · 952 Bytes
/
Card.cc
File metadata and controls
executable file
·39 lines (28 loc) · 952 Bytes
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
#include <iostream>
#include <string>
#include "Card.h"
#include "Player.h"
using namespace std;
//Card::Card() {};
// Creates a new card specific to the name of the card given
Card::Card(string name, int cost) : name{name}, cardCost{cost} {
}
void Card::changeAttack(int attack) {}
void Card::changeDefence(int defence) {}
string Card::getName() {
return name;
}
void Card::setActionTo1() {}
int Card::power() {}
void Card::addToBoard(Card *ritualSlot, Card *minion, Slot *slot) {}
void Card::attack(Card *minion){}
void Card::attack(Player *player){}
void Card::popTopEnchantment() {};
//void Card::reInitializeDefence(int val) {};
void Card::performActivatedAbility(int minionNum, Minion *minion, Player *p1, Player *p2) {}
void Card::performTriggeredAbility(std::string what, int minionNum, Minion *minion, Player *p1, Player *p2) {}
void Card::updateCharge(int val) {};
Card::~Card() {}
int Card::getCardCost() {
return cardCost;
}