No space before exclamation mark.

This commit is contained in:
Arnold Dumas 2014-08-03 20:44:38 +02:00
parent 83e019e7d3
commit 1fa2ff0458
2 changed files with 3 additions and 3 deletions

View File

@ -165,12 +165,12 @@ int main()
if (ball.getPosition().x - ballRadius < 0.f)
{
isPlaying = false;
pauseMessage.setString("You lost !\nPress space to restart or\nescape to exit");
pauseMessage.setString("You lost!\nPress space to restart or\nescape to exit");
}
if (ball.getPosition().x + ballRadius > gameWidth)
{
isPlaying = false;
pauseMessage.setString("You won !\nPress space to restart or\nescape to exit");
pauseMessage.setString("You won!\nPress space to restart or\nescape to exit");
}
if (ball.getPosition().y - ballRadius < 0.f)
{

View File

@ -85,7 +85,7 @@ int main()
}
// Finished !
std::cout << std::endl << "Done !" << std::endl;
std::cout << std::endl << "Done!" << std::endl;
// Wait until the user presses 'enter' key
std::cout << "Press enter to exit..." << std::endl;