Public Member Functions

ChessBoard Class Reference

Board implementation for Chess game. More...

#include <Game/Boards/ChessBoard.hpp>

Inheritance diagram for ChessBoard:
Board2D Board< 2 >

List of all members.

Public Member Functions

int getDimensionLength (unsigned int dimensionIndex) const
void move (const Move< Coords > &move)

Detailed Description

Board implementation for Chess game.

The board is a 8x8 board with no particularities


Member Function Documentation

int ChessBoard::getDimensionLength ( unsigned int  dimensionIndex  )  const [inline, virtual]

Gets the size of a precise dimension

Parameters:
dimensionIndex index of the dimension requested
Returns:

Implements Board< 2 >.

void ChessBoard::move ( const Move< Coords > &  move  )  [virtual]

Moves pieces on board as described by move

Parameters:
move 

Implements Board2D.


The documentation for this class was generated from the following files:
 All Classes Functions Variables