Bouclage de la musique
This commit is contained in:
parent
8e30f81801
commit
3e9c43b65e
|
@ -12,6 +12,7 @@ private:
|
|||
sf::Music music;
|
||||
|
||||
public:
|
||||
ResourceManager();
|
||||
~ResourceManager();
|
||||
|
||||
/**
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
#include "whereami.h"
|
||||
#include <memory>
|
||||
|
||||
ResourceManager::ResourceManager() {
|
||||
music.setLoop(true);
|
||||
}
|
||||
|
||||
ResourceManager::~ResourceManager() {
|
||||
textures.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue