us.the.mac.board
Interface Board.EndGamePiece

Enclosing class:
Board

public static interface Board.EndGamePiece

The EndGamePiece interface handles the callback for the type of piece that ends the game.

For Example: In games like Chess or Xiangqi, this interface is implemented by the King pieces.


Method Summary
 boolean endingMove()
          This method determines if an ending piece has made its last move.

 

Method Detail

endingMove

boolean endingMove()
This method determines if an ending piece has made its last move.

Returns:
Returns true if the piece has reached the ending move criteria