diff --git a/include/resource_manager.hpp b/include/resource_manager.hpp index 05acae7..638a021 100644 --- a/include/resource_manager.hpp +++ b/include/resource_manager.hpp @@ -12,6 +12,7 @@ private: sf::Music music; public: + ResourceManager(); ~ResourceManager(); /** diff --git a/src/resource_manager.cpp b/src/resource_manager.cpp index e617d6f..89a8d4f 100644 --- a/src/resource_manager.cpp +++ b/src/resource_manager.cpp @@ -2,6 +2,10 @@ #include "whereami.h" #include +ResourceManager::ResourceManager() { + music.setLoop(true); +} + ResourceManager::~ResourceManager() { textures.clear(); }