diff options
Diffstat (limited to 'src/game_tab/HalfMove.hpp')
| -rw-r--r-- | src/game_tab/HalfMove.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game_tab/HalfMove.hpp b/src/game_tab/HalfMove.hpp index c8ef8c0..07be4d0 100644 --- a/src/game_tab/HalfMove.hpp +++ b/src/game_tab/HalfMove.hpp @@ -16,15 +16,17 @@ class HalfMove : public cgeditor::CGEHalfMove { HalfMove *parent = NULL; HalfMove *mainline = NULL; + chessarbiter::ChessArbiter arbiter; std::vector<HalfMove *> variations; std::string fen; char capture; std::string GetPGN(bool needDots); + void BuildAndVerify(HalfMove *m, std::string fen); public: HalfMove(std::string move); HalfMove(std::string move, std::string fen); - HalfMove(pgnp::HalfMove *m, std::string initial_fen); + HalfMove(pgnp::HalfMove *m); ~HalfMove(); /// @brief Add variation to current move @@ -53,5 +55,5 @@ public: void SetFen(std::string fen); void SetCapture(char c); std::string GetPGN(); + void BuildAndVerify(std::string initial_fen); }; - |
