Bouclage de la musique

This commit is contained in:
Mattéo Delabre 2016-03-30 20:40:59 +02:00
parent 8e30f81801
commit 3e9c43b65e
2 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@ private:
sf::Music music;
public:
ResourceManager();
~ResourceManager();
/**

View File

@ -2,6 +2,10 @@
#include "whereami.h"
#include <memory>
ResourceManager::ResourceManager() {
music.setLoop(true);
}
ResourceManager::~ResourceManager() {
textures.clear();
}