21 |
#define _PLAYER_H_ |
#define _PLAYER_H_ |
22 |
|
|
23 |
#include <vector> |
#include <vector> |
24 |
|
#include "pldrack.h" |
25 |
|
|
|
class Playedrack; |
|
26 |
class Round; |
class Round; |
|
class Board; |
|
|
typedef struct _Dictionary * Dictionary; |
|
27 |
|
|
28 |
|
|
29 |
/** |
/** |
64 |
void endTurn(const Round &iRound, int iTurn); |
void endTurn(const Round &iRound, int iTurn); |
65 |
|
|
66 |
private: |
private: |
67 |
// Score of the player |
/// Score of the player |
68 |
int m_score; |
int m_score; |
69 |
|
|
70 |
// History of the racks and rounds for the player |
/// Current played rack of the player |
71 |
|
PlayedRack m_pldrack; |
72 |
|
|
73 |
|
/// History of the racks and rounds for the player |
74 |
vector<PlayedRack *> m_playedRacks; |
vector<PlayedRack *> m_playedRacks; |
75 |
vector<Round *> m_rounds; |
vector<Round *> m_rounds; |
76 |
vector<int> m_turns; |
vector<int> m_turns; |