diff options
Diffstat (limited to 'src/CGEHalfMove.cpp')
| -rw-r--r-- | src/CGEHalfMove.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/CGEHalfMove.cpp b/src/CGEHalfMove.cpp index 669b568..4deb57b 100644 --- a/src/CGEHalfMove.cpp +++ b/src/CGEHalfMove.cpp @@ -23,26 +23,6 @@ CGEHalfMove::CGEHalfMove(std::string move) this->move = move; } -void CGEHalfMove::SetComment(const std::string &c) { - if (c.size() > 0) { - NbLineComment = 1; - for (const char &c : c) { - if (c == '\n') { - NbLineComment++; - } - } - this->comment = c; - } - else { - this->comment=""; - NbLineComment=0; - } -} - -std::string CGEHalfMove::GetComment() { return (comment); } - -std::uint16_t CGEHalfMove::GetNbLineComment() { return (this->NbLineComment); } - void CGEHalfMove::RemoveChild(CGEHalfMove *m) { std::uint32_t i = 0; bool found = false; |
