de.java_chess.javaChess.renderer
Interface ChessBoardRenderer

All Known Implementing Classes:
ChessBoardRenderer2D

public interface ChessBoardRenderer

This interface defines the functionality of a chessboard renderer.


Method Summary
 void doPly(Ply ply)
          Render a piece move.
 Board getBoard()
          Get the current board.
 void repaintBoard()
          Repaint the current board.
 void setBoard(Board board)
          Set a new board.
 

Method Detail

getBoard

public Board getBoard()
Get the current board.
Returns:
The current board.

setBoard

public void setBoard(Board board)
Set a new board.
Parameters:
board - The new board.

repaintBoard

public void repaintBoard()
Repaint the current board.

doPly

public void doPly(Ply ply)
Render a piece move.
Parameters:
ply - The ply to render.