|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<GGSound> ch.aplu.jgamegrid.GGSound
public enum GGSound
Enumeration of all system sounds.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |