19 [[nodiscard]] const std::
string&
name() const noexcept;
20 [[nodiscard]] const std::
string&
file_path() const noexcept;
Represents a generic sound resource in the audio engine. This class serves as a base for specific sou...
Definition sound_resource.h:12
std::string file_path_
Definition sound_resource.h:25
SoundResource(std::string name, std::string file_path, SoundType type=SoundType::GENERIC)
SoundType type_
Definition sound_resource.h:23
const std::string & name() const noexcept
virtual ~SoundResource()=default
std::string name_
Definition sound_resource.h:24
const SoundType & type() const noexcept
const std::string & file_path() const noexcept
SoundType
Definition sound_type.h:5