diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-01 18:18:27 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-01 18:18:27 +0100 |
| commit | 4e85af5e08b86fb32d6698836f3a227bc6f086b3 (patch) | |
| tree | ef802e2c965f64830270494d94ac3f460b8a41ec /src/game_tab/HalfMove.hpp | |
| parent | 88430eec2951290633875b0f036a33bbc6ee60a2 (diff) | |
Update Game tab
Diffstat (limited to 'src/game_tab/HalfMove.hpp')
| -rw-r--r-- | src/game_tab/HalfMove.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game_tab/HalfMove.hpp b/src/game_tab/HalfMove.hpp index 3d5177e..7bc8b22 100644 --- a/src/game_tab/HalfMove.hpp +++ b/src/game_tab/HalfMove.hpp @@ -45,6 +45,8 @@ public: void Promote(); /// @brief Check if current half move is within a variation bool IsVariation(); + /// @brief Return true if current moves has m as mainline or variation + bool HasChild(HalfMove *m); /// @brief Get the root of a variation HalfMove *GetRoot(); /// @brief Get parent of the current move |
