#include <rack.h>
Tiles have to be in the bag for the rack to be valid.
Definition at line 43 of file rack.h.
Public Member Functions | |
Rack () | |
virtual | ~Rack () |
int | nTiles () const |
bool | isEmpty () const |
unsigned int | in (const Tile &t) const |
void | add (const Tile &t) |
void | remove (const Tile &t) |
void | clear () |
void | getTiles (list< Tile > &oTiles) const |
string | toString () |
|
|
|
|
|
Definition at line 53 of file rack.h. Referenced by ExtendRight(), PlayedRack::getNew(), PlayedRack::getOld(), PlayedRack::getRack(), and LeftPart(). |
|
Definition at line 55 of file rack.h. Referenced by PlayedRack::getNew(), and PlayedRack::getOld(). |
|
Definition at line 39 of file rack.cpp. Referenced by PlayedRack::setNew(), and PlayedRack::setOld(). |
|
Definition at line 52 of file rack.h. Referenced by ExtendRight(), LeftPart(), and Game::rackInBag(). |
|
Definition at line 50 of file rack.h. References nTiles(). |
|
Definition at line 49 of file rack.h. Referenced by isEmpty(), and Board::searchFirst(). |
|
Definition at line 31 of file rack.cpp. Referenced by ExtendRight(), LeftPart(), and History::playRound(). |
|
Definition at line 49 of file rack.cpp. Referenced by Training::search(). |