Enum Constant and Description |
---|
BIRD
The whistling of a bird.
|
BOING
The sound of boing.
|
CLICK
The sound of a click.
|
DUMMY
An empty sound clip that may be used to initialize the sound system.
|
EXPLODE
The sound of an explosion.
|
FADE
A fading out sound.
|
FROG
The quack of a frog.
|
MMM
The enjoying sound of an eating person.
|
NOTIFY
A notification sound.
|
PING
The sound of ping.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath()
Returns the path to the sound file.
|
static GGSound |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GGSound[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GGSound DUMMY
public static final GGSound FROG
public static final GGSound CLICK
public static final GGSound FADE
public static final GGSound NOTIFY
public static final GGSound EXPLODE
public static final GGSound MMM
public static final GGSound PING
public static final GGSound BIRD
public static final GGSound BOING
public static GGSound[] values()
for (GGSound c : GGSound.values()) System.out.println(c);
public static GGSound valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPath()