Converted applicable enumerations to strongly typed enumerations.

This commit is contained in:
binary1248 2017-04-04 01:13:07 +02:00
parent b3b094fc91
commit 24db1dba1a
74 changed files with 1242 additions and 1251 deletions

View file

@ -29,7 +29,7 @@ void playSound()
sound.play();
// Loop while the sound is playing
while (sound.getStatus() == sf::Sound::Playing)
while (sound.getStatus() == sf::Sound::Status::Playing)
{
// Leave some CPU time for other processes
sf::sleep(sf::milliseconds(100));
@ -63,7 +63,7 @@ void playMusic(const std::string& filename)
music.play();
// Loop while the music is playing
while (music.getStatus() == sf::Music::Playing)
while (music.getStatus() == sf::Music::Status::Playing)
{
// Leave some CPU time for other processes
sf::sleep(sf::milliseconds(100));