-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCardM11.h
More file actions
34 lines (25 loc) · 673 Bytes
/
Copy pathCardM11.h
File metadata and controls
34 lines (25 loc) · 673 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
#pragma once
#include "Card.h"
#include <string>
class CardM11 : public Card
{
private:
static bool alreadyset;
static bool av;
static int price;
static int fees;
static Player* Owner;
static bool isAlreadySaved;
public:
CardM11(const CellPosition& pos);
CardM11(const CellPosition& pos, int, int);
int GetPrice();
int GetFees();
void SetPrice(int);
void SetFees(int);
virtual void ReadCardParameters(Grid* pGrid);
virtual void Apply(Grid* pGrid, Player* pPlayer);
virtual void Save(ofstream& OutFile);
static void ResetOwnership(); //to remove ownership of a card from the player
~CardM11();
};