16 Music(std::string file);
void startMusic()
Starts the Music playing, also checks if not playing and starts again.
Definition: Music.cpp:23
~Music()
Destructs the Music object.
Definition: Music.cpp:17
void stopMusic()
Stops the Music playing.
Definition: Music.cpp:33
Mix_Music * music
Variable for the music.
Definition: Music.h:45
void muteMusic()
Mute the Music.
Definition: Music.cpp:39
Handles music using SDL_Mixer.
Definition: Music.h:9
Music(std::string file)
Constructs the Music object.
Definition: Music.cpp:6
void unmuteMusic()
Un-mute the Music.
Definition: Music.cpp:45