-
Notifications
You must be signed in to change notification settings - Fork 2
/
CardEight.h
34 lines (23 loc) · 815 Bytes
/
CardEight.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 CARD_Eight
#define CARD_Eight
#include "Card.h"
/*
-------------------Card Summary------------------------------
roll extra dice
*/
class CardEight : public Card
{
int Amount;
public:
CardEight(const CellPosition& pos); // A Constructor takes card position
CardEight(); // A Constructor takes card position
int getAmount() const;
virtual bool ReadCardParameters(Grid* pGrid); // Doesn't Need Parameters
virtual void Apply(Grid* pGrid, Player* pPlayer); // Applies the effect of CardThree on the passed Player
// Give Them Extra Roll Dice
virtual void Save(ofstream& OutFile, GameObjectsType Obj) const;
virtual void Read(ifstream& InFile);
virtual void setCopy(Card* ClipboardCard);
virtual ~CardEight(); // A Virtual Destructor
};
#endif