Add dynamic_cast for playSound
makes it so developers don't need to dynamic_cast any time they want to play sound
This commit is contained in:
@@ -10,7 +10,7 @@ public:
|
||||
~SoundService(void);
|
||||
|
||||
float getMusicVolume();
|
||||
void playSound(SoundInstance* sound);
|
||||
void playSound(Instance* sound);
|
||||
private:
|
||||
float musicVolume;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user