diff options
Diffstat (limited to 'src/game_tab/Game.cpp')
| -rw-r--r-- | src/game_tab/Game.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/game_tab/Game.cpp b/src/game_tab/Game.cpp index 8b52ca6..1bc1e4c 100644 --- a/src/game_tab/Game.cpp +++ b/src/game_tab/Game.cpp @@ -99,7 +99,6 @@ bool Game::Play(std::string move) { if (moves == NULL) { moves = m; } - wxLogDebug("%s", GetPGN()); return (true); } return (false); @@ -139,17 +138,7 @@ std::string Game::GetFen() { return (current->GetFen()); } -std::string Game::GetPGN() { - std::string pgn; - if (moves != NULL) { - for (auto const &element : tags) { - pgn += '[' + element.first + " \"" + element.second + "\"]\n"; - } - pgn += moves->GetPGN(); - } - pgn += " " + result; - return (pgn); -} +std::string Game::GetResult() { return (result); } void Game::SetResult(std::string result) { this->result = result; } |
