71 |
bool isPlayedFromRack(int iIndex) const; |
bool isPlayedFromRack(int iIndex) const; |
72 |
const Tile& getTile (int iIndex) const; |
const Tile& getTile (int iIndex) const; |
73 |
int getWordLen() const; |
int getWordLen() const; |
74 |
int getPoints() const { return m_points; } |
int getPoints() const { return m_points; } |
75 |
int getBonus() const { return m_bonus; } |
int getBonus() const { return m_bonus; } |
76 |
|
|
77 |
/************************* |
/************************* |
78 |
* Coordinates |
* Coordinates |
79 |
*************************/ |
*************************/ |
80 |
int getRow() const { return m_coord.getRow(); } |
const Coord& getCoord() const { return m_coord; } |
81 |
int getCol() const { return m_coord.getCol(); } |
Coord& accessCoord() { return m_coord; } |
|
Coord::Direction getDir() const { return m_coord.getDir(); } |
|
|
void setRow(int iRow) { m_coord.setRow(iRow); } |
|
|
void setCol(int iCol) { m_coord.setCol(iCol); } |
|
|
void setDir(Coord::Direction iDir) { m_coord.setDir(iDir); } |
|
82 |
|
|
83 |
private: |
private: |
84 |
vector<Tile> m_word; |
vector<Tile> m_word; |