19 #ifndef RESTRICTEDMOVEBOARD_H 20 #define RESTRICTEDMOVEBOARD_H 22 #include "westernboard.h" 40 virtual Board* copy()
const = 0;
41 virtual bool vIsLegalMove(
const Move& move);
42 virtual bool inCheck(
Side side,
int square = 0)
const;
49 virtual bool restriction(
const Move& move,
50 bool reverse =
false)
const = 0;
54 #endif // RESTRICTEDMOVEBOARD_H An internal chessboard class.
Definition: board.h:57
A board for western chess variants.
Definition: westernboard.h:40
Definition: boardscene.h:29
A base class for boards. It is intended for chess variants of standard chess with additional move res...
Definition: restrictedmoveboard.h:33
The side or color of a chess player.
Definition: side.h:35
A small and efficient chessmove class.
Definition: move.h:42