Hummingbird Framework
|
Public Member Functions | |
SoundBuffer (const sf::SoundBuffer &buffer, const std::string &id) | |
SoundBuffer (const std::string &id) | |
Time | getDuration () const |
![]() | |
Resource (const sf::SoundBuffer &resource, const std::string &id) | |
Class constructor. More... | |
Resource (const std::string &id) | |
Class constructor. Used for getting an already loaded resource. More... | |
Resource (const Resource &other) | |
Copy constructor. More... | |
Resource & | operator= (const Resource &other) |
Copy assignment. More... | |
~Resource () | |
Class destructor. More... | |
const sf::SoundBuffer & | get () const |
Get the resource. More... | |
sf::SoundBuffer & | get () |
Get the resource. More... | |
const std::string & | id () const |
Get the resource id. | |
Static Public Member Functions | |
static SoundBuffer | loadFromFile (const std::string &path) |
Additional Inherited Members | |
![]() | |
int | m_id |