Added objective count in maze

This commit is contained in:
trotFunky 2019-11-04 14:42:25 +01:00
parent c093cc95c7
commit 7a7e9d9d18
3 changed files with 4 additions and 1 deletions

View file

@ -53,7 +53,7 @@ void manage_inputs()
if (map_colour == Tiles::end)
{
std::cout << "Success !" << std::endl;
std::cout << "You managed to collect " << score << " raptors!" << std::endl;
std::cout << "You managed to collect " << score << " out of " << maze->total_objectives << " raptors!" << std::endl;
glutDestroyWindow(glutGetWindow());
exit(EXIT_SUCCESS);
}