Classes | |
struct | Coords |
Public Types | |
typedef struct Board2D::Coords | Coords |
Public Member Functions | |
Board2D (unsigned int columnNumber, unsigned int lineNumber) | |
void | init (const std::vector< std::pair< Coords, Piece > > &startPieces) |
const Piece & | get (const int indexes[2]) const |
const Piece & | get (const Coords &coords) const |
const std::vector< std::pair < Coords, Piece > > | getPieces () const |
virtual void | move (const Move< Coords > &move)=0 |
Static Public Attributes | |
static const Coords | InvalidCoords = Coords() |
Protected Attributes | |
std::vector< std::vector< Piece > > | m_board |