findSoundByName

AssetManagerInterface::findSoundByName

Returns the sound associated with the name.

Declaration

virtual Sound* findSoundByName(const std::string& soundName) = 0;

Parameters

Name

Type

Description

soundName

const std::string&

The name of the Sound.

Returns

A pointer to a Sound if the name is associated with a Sound, else, returns nullptr.