mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
@ -84,8 +84,8 @@ int main()
|
||||
}
|
||||
}
|
||||
|
||||
// Finished !
|
||||
std::cout << std::endl << "Done !" << std::endl;
|
||||
// Finished!
|
||||
std::cout << std::endl << "Done!" << std::endl;
|
||||
|
||||
// Wait until the user presses 'enter' key
|
||||
std::cout << "Press enter to exit..." << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user