working splash state

This commit is contained in:
yugecin
2017-01-17 23:18:12 +01:00
parent 5e09a1d24a
commit 8b226f3afc
11 changed files with 114 additions and 133 deletions

View File

@@ -578,4 +578,13 @@ public class MusicController {
ErrorHandler.error("Failed to destroy OpenAL.", e, true);
}
}
/**
* Set the default volume for music
* @param volume the new default value for music volume
*/
public static void setMusicVolume(float volume) {
SoundStore.get().setMusicVolume(volume);
}
}