8 #ifndef SOUNDMANAGER_HPP_
9 #define SOUNDMANAGER_HPP_
13 #include <unordered_map>
46 ASound at(std::string
const &index)
const;
62 void saveSounds(std::string
const &filepath);
64 std::unordered_map<std::string, ASound> _sounds;
ASound at(std::string const &index) const
Get the Sound at index sent as param.
Definition: SoundManager.cpp:20
SoundManager()
Construct a new Sound Manager object.
Definition: SoundManager.hpp:33
void loadSounds(std::string const &filepath)
Load all Sounds from a config file.
Definition: SoundManager.cpp:25
~SoundManager()
Destroy the Sound Manager object.
Definition: SoundManager.hpp:38
Class to store all Sounds.
Definition: SoundManager.hpp:21
Class containing all elements of an Sound.
Definition: ASound.hpp:18