From cbcc455e339a6fec87f16369e450620ef7692a34 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 25 Feb 2022 13:38:49 +0100 Subject: Cleaning code --- src/game_tab/Game.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game_tab/Game.cpp') diff --git a/src/game_tab/Game.cpp b/src/game_tab/Game.cpp index dab67b8..48e48bf 100644 --- a/src/game_tab/Game.cpp +++ b/src/game_tab/Game.cpp @@ -29,6 +29,7 @@ std::string Game::GetTag(std::string tagname) { return (tags[tagname]); } void Game::SetTag(std::string tagname, std::string value) { tags[tagname] = value; } + bool Game::IsBlackToPlay() { if (current == NULL) { return (false); @@ -55,6 +56,7 @@ void Game::DeleteMove(HalfMove *m) { } HalfMove *Game::GetCurrentMove() { return (current); } + HalfMove *Game::GetMoves() { return (moves); } void Game::PromoteMove(HalfMove *m) { -- cgit v1.2.3