aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/HalfMove.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_tab/HalfMove.hpp')
-rw-r--r--src/game_tab/HalfMove.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game_tab/HalfMove.hpp b/src/game_tab/HalfMove.hpp
index 51b38a0..6ea0c5a 100644
--- a/src/game_tab/HalfMove.hpp
+++ b/src/game_tab/HalfMove.hpp
@@ -20,7 +20,6 @@ class HalfMove : public cgeditor::CGEHalfMove {
std::vector<HalfMove *> variations;
std::string fen;
char capture;
- std::string GetPGN(bool needDots);
void BuildAndVerify(HalfMove *m, std::string fen);
public:
@@ -47,6 +46,8 @@ public:
/// @brief Get parent of the current move
HalfMove *GetParent();
HalfMove *GetMainline();
+ std::vector<HalfMove *> GetVariations();
+
std::map<char, std::uint8_t> GetLineCaptures();
/// @brief Set parent of the current move
@@ -54,7 +55,7 @@ public:
std::string GetFen();
void SetFen(std::string fen);
void SetCapture(char c);
- std::string GetPGN();
+ bool IsABlackMove();
/**
* @brief Build current move