41 const Square& targetSquare,
53 Square sourceSquare()
const;
55 Square targetSquare()
const;
57 int promotion()
const;
60 void setSourceSquare(
const Square& square);
62 void setTargetSquare(
const Square& square);
64 void setPromotion(
int pieceType);
76 #endif // GENERICMOVE_H A chess move independent of chess variant or opening book format.
Definition: genericmove.h:34
Definition: boardscene.h:29
A generic chess square type consisting of a file and a rank.
Definition: square.h:33