40 const Square& targetSquare,
52 Square sourceSquare()
const;
54 Square targetSquare()
const;
56 int promotion()
const;
59 void setSourceSquare(
const Square& square);
61 void setTargetSquare(
const Square& square);
63 void setPromotion(
int pieceType);
75 #endif // GENERICMOVE_H A chess move independent of chess variant or opening book format.
Definition: genericmove.h:33
Definition: boardscene.h:28
A generic chess square type consisting of a file and a rank.
Definition: square.h:32