Added objective count in maze
This commit is contained in:
parent
c093cc95c7
commit
7a7e9d9d18
3 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue