Merge pull request #673 from arnolddumas/master
No space before exclamation mark.
This commit is contained in:
commit
386f56d6a4
@ -165,12 +165,12 @@ int main()
|
|||||||
if (ball.getPosition().x - ballRadius < 0.f)
|
if (ball.getPosition().x - ballRadius < 0.f)
|
||||||
{
|
{
|
||||||
isPlaying = false;
|
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)
|
if (ball.getPosition().x + ballRadius > gameWidth)
|
||||||
{
|
{
|
||||||
isPlaying = false;
|
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)
|
if (ball.getPosition().y - ballRadius < 0.f)
|
||||||
{
|
{
|
||||||
|
@ -84,8 +84,8 @@ int main()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Finished !
|
// Finished!
|
||||||
std::cout << std::endl << "Done !" << std::endl;
|
std::cout << std::endl << "Done!" << std::endl;
|
||||||
|
|
||||||
// Wait until the user presses 'enter' key
|
// Wait until the user presses 'enter' key
|
||||||
std::cout << "Press enter to exit..." << std::endl;
|
std::cout << "Press enter to exit..." << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user