public class Sound extends LoadableResource
Modifier and Type | Field and Description |
---|---|
static ResourceList<Sound> |
list |
alias, path
Constructor and Description |
---|
Sound(java.io.File path) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
int |
getID() |
void |
load() |
void |
pause() |
void |
play() |
Sound |
setDirection(int x,
int y,
int z) |
void |
stop() |
getAlias, getPath, setAlias
public static final ResourceList<Sound> list
public Sound(java.io.File path) throws java.lang.Exception
java.lang.Exception
public void load() throws java.lang.Exception
load
in class LoadableResource
java.lang.Exception
public Sound setDirection(int x, int y, int z)
public void play()
public void pause()
public void stop()
public void destroy() throws java.lang.Exception
destroy
in class LoadableResource
java.lang.Exception
public int getID()