public interface SoundHandle
Modifier and Type | Method and Description |
---|---|
void |
dispose()
This Sound is not needed anymore and should be removed from the system.
|
float |
getVolume() |
boolean |
isPlaying()
Checks if this sound is still playing.
|
void |
play()
Play the sound.
|
void |
setVolume(float volume)
Change volume of the sound while it is playing.
|
void |
stop()
Stop the sound.
|
void play()
void stop()
void setVolume(float volume)
volume
- new value in range 0 to 1float getVolume()
boolean isPlaying()
void dispose()
Copyright © 2013. All Rights Reserved.