Skip to content

Instantly share code, notes, and snippets.

Created Dec 13, 2016
What would you like to do?
public SoundMananger getSoundMananger() {
if (GeneralUtils.isSoundEnabled()) {
return new LoudSoundMananger();
} else {
return new SilentSoundManager();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment