diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 09:40:39 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 09:40:39 +0100 |
| commit | 2bb6730df8094c89af5a07d394fc02c43aea24eb (patch) | |
| tree | b531e2027961db3b15ccf649d6e015d62e8a392f /src/CGEHalfMove.hpp | |
| parent | f1f638100f4bcd88b31c3412e961dbbb5e12ad0a (diff) | |
Update
Diffstat (limited to 'src/CGEHalfMove.hpp')
| -rw-r--r-- | src/CGEHalfMove.hpp | 12 |
1 files changed, 2 insertions, 10 deletions
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<CGEHalfMove *> 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); }; |
