jubilant-funicular
|
Represents a sound effect or short audio clip. More...
#include <AudioManager.h>
Public Member Functions | |
void | play (int numLoops=0) const |
plays the sound effect | |
Private Member Functions | |
SoundEffect (Mix_Chunk *c) | |
Constructor simple stores a chunk. | |
~SoundEffect () | |
Destructor frees chunk. | |
Private Attributes | |
Mix_Chunk * | m_chunk |
the chunk representing the stored sound effect | |
Friends | |
class | AudioManager |
Represents a sound effect or short audio clip.
Definition at line 12 of file AudioManager.h.