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