19 #ifndef BOARDTRANSITION_H 20 #define BOARDTRANSITION_H 85 void addMove(
const Square& source,
const Square& target);
87 void addDrop(
const Piece& piece,
const Square& target);
94 void addSquare(
const Square& square);
101 void addReservePiece(
const Piece& piece);
111 #endif // BOARDTRANSITION_H Piece piece
Type of the dropped piece.
Definition: boardtransition.h:58
Movement on the board.
Definition: boardtransition.h:44
Square source
Source square.
Definition: boardtransition.h:46
Square target
Target square of the drop.
Definition: boardtransition.h:59
Definition: boardscene.h:29
Square target
Target square.
Definition: boardtransition.h:47
A chess piece.
Definition: piece.h:40
Details of a board transition caused by a move.
Definition: boardtransition.h:40
A generic chess square type consisting of a file and a rank.
Definition: square.h:33
A piece drop.
Definition: boardtransition.h:56