aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/Game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_tab/Game.hpp')
-rw-r--r--src/game_tab/Game.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game_tab/Game.hpp b/src/game_tab/Game.hpp
index 7cad269..348bff9 100644
--- a/src/game_tab/Game.hpp
+++ b/src/game_tab/Game.hpp
@@ -8,6 +8,7 @@
class Game {
std::string board;
std::string initial_fen;
+ std::string result;
std::unordered_map<std::string, std::string> tags;
HalfMove *moves;
HalfMove *current;
@@ -35,4 +36,5 @@ public:
void SetCurrent(HalfMove *m);
std::vector<std::string> ListTags();
std::string GetPGN();
+ void SetResult(std::string result);
}; \ No newline at end of file