mirror of
https://github.com/ApfelTeeSaft/gameBase.git
synced 2026-08-26 19:23:30 +00:00
clearPlaylist is now public
This commit is contained in:
@@ -54,6 +54,7 @@ namespace gameBase{
|
||||
delete track.soundObj;
|
||||
|
||||
currentPlaylistTracks.clear();
|
||||
originalPlaylist.clear();
|
||||
}
|
||||
|
||||
void SoundManager::play(vector<string> playlist, int volume, int trackDelay, bool loop, bool shuffle){
|
||||
|
||||
+1
-1
@@ -16,6 +16,7 @@ namespace gameBase{
|
||||
static SoundManager* getSingleton();
|
||||
void update();
|
||||
void play(std::vector<std::string>, int, int, bool, bool);
|
||||
void clearPlaylist();
|
||||
private:
|
||||
struct Track{
|
||||
std::string path = "";
|
||||
@@ -24,7 +25,6 @@ namespace gameBase{
|
||||
Track(std::string);
|
||||
};
|
||||
SoundManager(){}
|
||||
void clearPlaylist();
|
||||
|
||||
int currentTrackId = 0, volume, trackDelay;
|
||||
bool loop, shuffle;
|
||||
|
||||
Reference in New Issue
Block a user