From 2bb6730df8094c89af5a07d394fc02c43aea24eb Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 31 Dec 2022 09:40:39 +0100 Subject: Update --- src/CGEHalfMove.hpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/CGEHalfMove.hpp') diff --git a/src/CGEHalfMove.hpp b/src/CGEHalfMove.hpp index abef708..28f6c34 100644 --- a/src/CGEHalfMove.hpp +++ b/src/CGEHalfMove.hpp @@ -10,10 +10,6 @@ namespace cgeditor { * */ class CGEHalfMove { - /// @brief Comment linked to the move - std::string comment; - /// @brief Number of line in @a comment - std::uint16_t NbLineComment = 0; public: CGEHalfMove(); @@ -26,6 +22,8 @@ public: std::string move; /// @brief Current NAG std::string nag; + /// @brief Comment linked to the move + std::string comment; CGEHalfMove *MainLine; CGEHalfMove *Parent; @@ -37,12 +35,6 @@ public: /// @brief Variations of the move std::vector variations; - /// @brief Set comment and update number of lines - void SetComment(const std::string &c); - /// @brief Get current value of comment - std::string GetComment(); - /// @brief Get number of lines in comment - std::uint16_t GetNbLineComment(); /// @brief Remove a move from the MainLine and/or variations void RemoveChild(CGEHalfMove *m); }; -- cgit v1.2.3