16 auto resource = std::make_unique<media::Sound>();
17 if (!resource->load(media::SoundType::SFX, file))
28 auto resource = std::make_unique<media::Sound>();
29 if (!resource->load(media::SoundType::MUSIC, file))
40 auto resource = std::make_unique<media::Sound>();
41 if (!resource->load(media::SoundType::VOICE, file))
#define GALAXY_LOG(level, msg,...)
std::unique_ptr< media::Sound > operator()(const std::string &file)
Overloaded operator() used to load a resource.
std::unique_ptr< media::Sound > operator()(const std::string &file)
Overloaded operator() used to load a resource.
std::unique_ptr< media::Sound > operator()(const std::string &file)
Overloaded operator() used to load a resource.