jubilant-funicular
|
Represents a longer piece of music. More...
#include <AudioManager.h>
Public Member Functions | |
void | play (int numLoops=1) const |
plays music | |
void | pause () const |
pauses music (can be resumed) | |
void | stop () const |
stops music (must be replayed from beginning) | |
void | resume () const |
resumes paused music | |
Private Member Functions | |
Music (Mix_Music *m) | |
constructor simply stores music | |
~Music () | |
destructor frees stored music | |
Private Attributes | |
Mix_Music * | m_music = nullptr |
the stored music | |
Friends | |
class | AudioManager |
Represents a longer piece of music.
Definition at line 33 of file AudioManager.h.