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);
Details of a board transition caused by a move.
Definition: boardtransition.h:41
A chess piece.
Definition: piece.h:41
A generic chess square type consisting of a file and a rank.
Definition: square.h:34
A piece drop.
Definition: boardtransition.h:57
Square target
Target square of the drop.
Definition: boardtransition.h:59
Piece piece
Type of the dropped piece.
Definition: boardtransition.h:58
Movement on the board.
Definition: boardtransition.h:45
Square target
Target square.
Definition: boardtransition.h:47
Square source
Source square.
Definition: boardtransition.h:46