clearPlaylist is now public

This commit is contained in:
devZoGok
2025-06-23 08:07:34 +03:00
parent 201f50f6cf
commit 318f43d675
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
View File
@@ -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;