#include <round.h>
It contains the word itself, of course, but also information of position on the board, origin of letters (board for a letter already placed, rack for a letter just being played), points, etc...
Definition at line 37 of file round.h.
Public Member Functions | |
| Round () | |
| virtual | ~Round () |
| void | init () |
| void | addRightFromBoard (Tile) |
| void | removeRightToBoard (Tile) |
| void | addRightFromRack (Tile, bool) |
| void | removeRightToRack (Tile, bool) |
| void | setPoints (int iPoints) |
| void | setBonus (bool iBonus) |
| void | setTile (int iIndex, const Tile &iTile) |
| void | setWord (const vector< Tile > &iTiles) |
| void | setFromRack (int iIndex) |
| void | setFromBoard (int iIndex) |
| void | setJoker (int iIndex, bool value=true) |
| bool | isJoker (int iIndex) const |
| bool | isPlayedFromRack (int iIndex) const |
| const Tile & | getTile (int iIndex) const |
| string | getWord () const |
| int | getWordLen () const |
| int | getPoints () const |
| int | getBonus () const |
| const Coord & | getCoord () const |
| Coord & | accessCoord () |
| string | toString () const |
|
|
Definition at line 31 of file round.cpp. References init(). |
|
|
|
|
|
Definition at line 83 of file round.h. Referenced by BoardSearchAux(), BoardSearchEvalMove(), Game::checkPlayedWord(), LeftPart(), and Board::searchFirst(). |
|
|
Definition at line 110 of file round.cpp. References FROMBOARD. Referenced by Game::gameLoadFormat_15(). |
|
||||||||||||
|
Definition at line 125 of file round.cpp. References FROMRACK, and JOKER. Referenced by ExtendRight(), Game::gameLoadFormat_15(), and LeftPart(). |
|
|
Definition at line 77 of file round.h. Referenced by searchResultLine(), and toString(). |
|
|
Definition at line 82 of file round.h. Referenced by Board::addRound(), BoardSearchEvalMove(), Game::checkPlayedWord(), Board::checkRound(), LeftPart(), Board::removeRound(), searchResultLine(), Board::testRound(), and toString(). |
|
|
Definition at line 76 of file round.h. Referenced by Game::back(), Game::helperPlayRound(), less_points::operator()(), Training::play(), FreeGame::play(), searchResultLine(), and toString(). |
|
|
Definition at line 92 of file round.cpp. Referenced by Board::addRound(), Game::back(), BoardSearchEvalMove(), getWord(), Game::helperPlayRound(), History::playRound(), and Board::testRound(). |
|
|
Definition at line 144 of file round.cpp. References getTile(), getWordLen(), isJoker(), and Tile::toChar(). Referenced by Game::gameSaveFormat_15(), Training::getTestPlayWord(), searchResultLine(), and toString(). |
|
|
Definition at line 98 of file round.cpp. Referenced by Board::addRound(), Game::back(), BoardSearchEvalMove(), getWord(), Game::helperPlayRound(), History::playRound(), Board::removeRound(), and Board::testRound(). |
|
|
Definition at line 37 of file round.cpp. References Coord::HORIZONTAL, Coord::setCol(), Coord::setDir(), and Coord::setRow(). Referenced by BoardSearchAux(), Game::checkPlayedWord(), and Round(). |
|
|
Definition at line 86 of file round.cpp. References JOKER. Referenced by Board::addRound(), Game::back(), BoardSearchEvalMove(), getWord(), Game::helperPlayRound(), History::playRound(), and Board::testRound(). |
|
|
Definition at line 104 of file round.cpp. References FROMRACK. Referenced by Game::back(), Game::helperPlayRound(), History::playRound(), and Board::removeRound(). |
|
|
|
|
||||||||||||
|
Definition at line 137 of file round.cpp. Referenced by ExtendRight(), and LeftPart(). |
|
|
Definition at line 60 of file round.h. Referenced by BoardSearchEvalMove(), and Game::gameLoadFormat_15(). |
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 77 of file round.cpp. References JOKER. |
|
|
Definition at line 59 of file round.h. Referenced by BoardSearchEvalMove(), and Game::gameLoadFormat_15(). |
|
||||||||||||
|
|
|
|
Definition at line 49 of file round.cpp. References FROMRACK. |
|
|
Definition at line 159 of file round.cpp. References getBonus(), getCoord(), getPoints(), getWord(), and Coord::toString(). Referenced by Game::back(), and Turn::toString(). |
1.4.5