Loads resources for the sound cache. More...
#include <Media.hpp>
Public Member Functions | |
| std::unique_ptr< media::Sound > | operator() (const std::string &file) |
| Overloaded operator() used to load a resource. | |
| Public Member Functions inherited from galaxy::Loader< media::Sound > | |
| std::shared_ptr< media::Sound > | operator() (Args &&... args) |
| Overloaded operator() used to load a resource. | |
Loads resources for the sound cache.
| Resource | A resource is a class containing data. |
| std::unique_ptr< media::Sound > galaxy::resource::SoundLoader::operator() | ( | const std::string & | file | ) |