Renderer outputting on console. More...
Public Member Functions | |
void | notify (const Move< ChessBoard::Coords > &move) |
virtual void | displayBoard () |
void | displayPiece (const ChessBoard::Coords &position) |
Renderer outputting on console.
The output is looking similar to GNUChess console output. The following letters are used for the pieces:
The white are in upper case, black in lower case Whites are always displayed at the bottom
virtual void ConsoleChessDisplay::displayBoard | ( | ) | [inline, virtual] |
draw call to display the pieces on 2D board
Reimplemented from Renderer2D< ChessBoard >.
void ConsoleChessDisplay::displayPiece | ( | const ChessBoard::Coords & | position | ) | [inline, virtual] |
do a draw call for a piece
position | on the board of the piece to draw |
Implements Renderer< ChessBoard >.
void ConsoleChessDisplay::notify | ( | const Move< ChessBoard::Coords > & | move | ) | [inline, virtual] |
Causes a complete redraw of the game
Implements Listener< Move< ChessBoard::Coords > >.