49 |
|
|
50 |
/// Get the previous turn |
/// Get the previous turn |
51 |
const Turn getPreviousTurn() const; |
const Turn getPreviousTurn() const; |
52 |
|
|
53 |
|
/// Get turn 'n' |
54 |
|
const Turn getTurn(unsigned int) const; |
55 |
|
|
56 |
/// Update the "history" with the given round and, complete the turn. |
/// Update the "history" with the given round and, complete the turn. |
57 |
/// a new turn is created with the remaining letters in the rack |
/// a new turn is created with the remaining letters in the rack |
60 |
/// Remove last turn |
/// Remove last turn |
61 |
void removeLastTurn(); |
void removeLastTurn(); |
62 |
|
|
63 |
|
/// String handling |
64 |
std::string toString() const; |
std::string toString() const; |
65 |
|
|
66 |
private: |
private: |
67 |
vector < Turn* > history; |
std::vector < Turn* > history; |
68 |
}; |
}; |
69 |
|
|
70 |
#endif |
#endif |