|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.planeth.common.audio.BufferedClip
Buffered Audio Clip
AudioClipConfig| Field Summary | |
static java.lang.String |
SLIM_SOUNDS_PATH
|
static java.lang.String |
SOUNDS_PATH
|
| Constructor Summary | |
BufferedClip(java.lang.String fileName)
Constructor for BufferedClip. |
|
BufferedClip(java.lang.String fileName,
AudioClipConfig settings)
Constructor for BufferedClip. |
|
| Method Summary | |
boolean |
isLoop()
Returns true, if the Clip is configured as a loop |
void |
play()
Plays the clip |
void |
stop()
Stops the clip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String SOUNDS_PATH
public static final java.lang.String SLIM_SOUNDS_PATH
| Constructor Detail |
public BufferedClip(java.lang.String fileName)
fileName - the name of the audiofile to be loaded
public BufferedClip(java.lang.String fileName,
AudioClipConfig settings)
fileName - the name of the audiofile to be loadedsettings - the AudioClipConfig with the settings for the clip| Method Detail |
public void play()
public void stop()
public boolean isLoop()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||