Skip to content

Commit

Permalink
Restore playMusic comments
Browse files Browse the repository at this point in the history
Stop-gap until lairworks#945 is complete
  • Loading branch information
cugone committed Jul 21, 2021
1 parent 4ed6007 commit 921c007
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NAS2D/Mixer/Mixer.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ namespace NAS2D
virtual void stopSound() = 0;
virtual void pauseSound() = 0;
virtual void resumeSound() = 0;

/**
* Starts playing a Music track.
*
* \param music Reference to a Music Resource.
* \param loops Number of times to repeat the music.
*/
void playMusic(const Music& music, int loops = Mixer::CONTINUOUS);
virtual void stopMusic() = 0;
virtual void pauseMusic() = 0;
Expand Down

0 comments on commit 921c007

Please sign in to comment.