public class MusicManager
extends java.lang.Object
Constructor and Description |
---|
MusicManager() |
Modifier and Type | Method and Description |
---|---|
void |
play(com.badlogic.gdx.audio.Music music)
Plays a music instance at the managers volume setting.
|
void |
setEnabled(boolean enabled)
Set whether the music is enabled or not.
|
void |
setVolume(float volume)
Set the volume of the manager.
|
void |
stop()
Stop the current playing music.
|
public void play(com.badlogic.gdx.audio.Music music)
public void stop()
public void setVolume(float volume)
public void setEnabled(boolean enabled)