33 |
class Player |
class Player |
34 |
{ |
{ |
35 |
public: |
public: |
36 |
Player(); |
Player(int iId); |
37 |
virtual ~Player(); |
virtual ~Player(); |
38 |
|
|
39 |
// Pseudo RTTI |
// Pseudo RTTI |
64 |
void endTurn(const Round &iRound, int iTurn); |
void endTurn(const Round &iRound, int iTurn); |
65 |
|
|
66 |
private: |
private: |
67 |
|
/// ID of the player |
68 |
|
int m_id; |
69 |
|
|
70 |
/// Score of the player |
/// Score of the player |
71 |
int m_score; |
int m_score; |
72 |
|
|
87 |
class HumanPlayer: public Player |
class HumanPlayer: public Player |
88 |
{ |
{ |
89 |
public: |
public: |
90 |
HumanPlayer() {} |
HumanPlayer(int iId): Player(iId) {} |
91 |
virtual ~HumanPlayer() {} |
virtual ~HumanPlayer() {} |
92 |
|
|
93 |
// Pseudo RTTI |
// Pseudo RTTI |