-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModeratePlayer.h
More file actions
40 lines (36 loc) · 1.22 KB
/
ModeratePlayer.h
File metadata and controls
40 lines (36 loc) · 1.22 KB
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
//
// Created by fok poon kai on 2018-04-06.
//
#ifndef COMP345P1_MODERATEPLAYER_H
#define COMP345P1_MODERATEPLAYER_H
#include "PlayerType.h"
class ModeratePlayer:public PlayerType{
public:
ModeratePlayer();
~ModeratePlayer();
Veiwer veiwer;
// Player py;
//inherate in PlayerType Class
virtual void pickupRaceNSp(ListofPlayer *x);
virtual void conquers(ListofPlayer *x,Player py,vector <NodeRegion > *nr_vPtr,vector<ListofPlayer> *lp_vtr);
virtual void scores(ListofPlayer *x,Player py,vector <NodeRegion > *nr_vPtr,vector<ListofPlayer> *lp_vtr);
virtual void firstEdge(ListofPlayer *x,Player py,vector <NodeRegion > *nr_vPtr,vector<ListofPlayer> *lp_vtr);
virtual void redeployment(ListofPlayer *x,Player py,vector <NodeRegion > *nr_vPtr,vector<ListofPlayer> *lp_vtr);
int totalNumberOfRegion;
int randomnumber;
int playerID;
int playerPopulation;
bool conquer_check;
bool Edgeoccupied;
bool redeployment_check;
int redeploymentPopulation;
int regionPopulation;
int toWhichRegion;
int input;
int fromWhichRegion;
int putRedeploymentPopulation;
int getRedeploymentPopulation;
int lock;
int input2;
};
#endif //COMP345P1_MODERATEPLAYER_H