aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/HalfMove.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-01 19:13:34 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-01 19:13:34 +0100
commitdcf6c01e54c5306fac464706cff81e75ee8f05bf (patch)
tree63ccd035166ced2fee956e0c077512d2d6429ca6 /src/game_tab/HalfMove.hpp
parentbbf3282839eb9efe57b1451763ef0859198c33af (diff)
Update Game tab
Diffstat (limited to 'src/game_tab/HalfMove.hpp')
-rw-r--r--src/game_tab/HalfMove.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game_tab/HalfMove.hpp b/src/game_tab/HalfMove.hpp
index 3d5177e..08a190b 100644
--- a/src/game_tab/HalfMove.hpp
+++ b/src/game_tab/HalfMove.hpp
@@ -46,6 +46,8 @@ public:
/// @brief Check if current half move is within a variation
bool IsVariation();
/// @brief Get the root of a variation
+ bool HasParent(HalfMove*m);
+ bool HasChild(HalfMove*m);
HalfMove *GetRoot();
/// @brief Get parent of the current move
HalfMove *GetParent();