mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 21:23:41 +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 addSingleBackgroundMusic(BackgroundMusic backgroundMusic, const char* path);
|
||||||
static void addBackgroundMusic(const std::map<BackgroundMusic, const char*> &backgroundMusic);
|
static void addBackgroundMusic(const std::map<BackgroundMusic, const char*> &backgroundMusic);
|
||||||
|
|
||||||
|
static SoundManager* getInstance() {
|
||||||
|
return this_instance;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user