Chess 0.0.1
A library written in c
|
Represents a move in a chess game. More...
#include <move.h>
Represents a move in a chess game.
ChessPiece ChessMove::captured_piece |
The piece captured by this move, or CHESS_PIECE_NONE if not a capture.
ChessSquare ChessMove::from |
The source square of the move.
ChessCastlingRights ChessMove::previous_castling_rights |
The castling rights before the move was made.
ChessSquare ChessMove::previous_en_passant_square |
The en passant square before the move was made.
unsigned int ChessMove::previous_half_move_clock |
The half-move clock value before the move was made.
ChessPieceType ChessMove::promotion_type |
The type of piece to promote to, or CHESS_PIECE_TYPE_NONE
` if not a promotion.
ChessSquare ChessMove::to |
The destination square of the move.