mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 05:43:43 +00:00
added getInstance method to soundmanager
This commit is contained in:
parent
9bb9d0fbcc
commit
007538f760
@ -81,6 +81,10 @@ class SoundManager
|
||||
static void addSingleBackgroundMusic(BackgroundMusic backgroundMusic, const char* path);
|
||||
static void addBackgroundMusic(const std::map<BackgroundMusic, const char*> &backgroundMusic);
|
||||
|
||||
static SoundManager* getInstance() {
|
||||
return this_instance;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user