ChessApplication.King Class
Class with the behavior of the King.

Access: Public
Base Classes: ChessPiece
  Members Description  
    King Constructor of a King.

 
    King Deserialization constructor of a position on the Chessboard.

 
    GetAbsoluteMovability Get the total number of possible movement for this type of a piece.

 
    KingMove    
    Castling    
    IsChecked Determine if the King is Checked by a opponent.

 
    AddLegalMovesNoCastling Generate all the possible legal moves for this except castling.

 
    AddLegalMoves Generate all the possible legal moves for this piece at current state of the chessboard.

 
    MoveToNotChecked Move the King to another position without verify that it is a correct move.

 
    ToString Makes a good string of the state