Skip to content

Instantly share code, notes, and snippets.

@Gazer
Created December 13, 2016 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gazer/d405575ef50fee624b0730c830dc8b87 to your computer and use it in GitHub Desktop.
Save Gazer/d405575ef50fee624b0730c830dc8b87 to your computer and use it in GitHub Desktop.
loud sound manager
public class LoudSoundManager implements SoundMananger {
private Sound jSound;
public LoudSoundManager() {
jSound = GameAssetManager.get(JUMPING_SOUND, Sound.class);
}
public void playJump() {
jSound.play(1.0f);
}
public void playLanded() {
// TODO
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment