|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SoundMap.Sound>
javoids.SoundMap.Sound
public static enum SoundMap.Sound
A list of sound names for the game.
Enum Constant Summary | |
---|---|
AFTERBURNER
the sound of an engine afterburner |
|
GUN1
the sound of a gun |
|
GUN2
the sound of a gun |
|
GUN3
the sound of a gun |
|
JAVOIDDIE
the sound of a javoid being destroyed |
|
JAVOIDHIT
the sound of a javoid being hit |
|
MACHINEGUN1
the sound of a gun |
|
MACHINEGUN2
the sound of a gun |
|
MACHINEGUN3
the sound of a gun |
|
MINEDIE
the sound of a mine being destroyed |
|
MINEHIT
the sound of a mine being hit |
|
NO_SOUND
a default to represent when no sound is selected |
|
PACMAN_DIE
the sound of a pacman being destroyed |
|
PACMAN_EATDOT
the sound of a pacman eating a dot |
|
PACMAN_EATFRUIT
the sound of a pacman eating a fruit |
|
PACMAN_EATGHOST
the sound of a pacman eating a ghost |
|
PACMAN_EXTRALIFE
the sound of a pacman being awarded an extra life |
|
PACMAN_GAMESTART
the sound of the pacman mode being started |
|
PACMAN_LEVELUP
the sound of a level up when in pacman mode |
|
POWERUP
the sound of a powerup |
|
POWERUPDIE
the sound of a powerup being destroyed |
|
ROCKET1
the sound of a missile |
|
SHIP_EXTRALIFE
the sound of a ship being given an extra life |
|
SHIPDIE
the sound of a ship being destroyed |
|
SHIPHIT
the sound of a ship being hit |
|
THRUST
the sound of an engine thrust |
Method Summary | |
---|---|
static SoundMap.Sound |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SoundMap.Sound[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SoundMap.Sound NO_SOUND
public static final SoundMap.Sound THRUST
public static final SoundMap.Sound AFTERBURNER
public static final SoundMap.Sound GUN1
public static final SoundMap.Sound GUN2
public static final SoundMap.Sound GUN3
public static final SoundMap.Sound MACHINEGUN1
public static final SoundMap.Sound MACHINEGUN2
public static final SoundMap.Sound MACHINEGUN3
public static final SoundMap.Sound ROCKET1
public static final SoundMap.Sound POWERUP
public static final SoundMap.Sound POWERUPDIE
public static final SoundMap.Sound JAVOIDHIT
public static final SoundMap.Sound JAVOIDDIE
public static final SoundMap.Sound MINEHIT
public static final SoundMap.Sound MINEDIE
public static final SoundMap.Sound SHIPHIT
public static final SoundMap.Sound SHIPDIE
public static final SoundMap.Sound SHIP_EXTRALIFE
public static final SoundMap.Sound PACMAN_DIE
public static final SoundMap.Sound PACMAN_EATDOT
public static final SoundMap.Sound PACMAN_EATFRUIT
public static final SoundMap.Sound PACMAN_EATGHOST
public static final SoundMap.Sound PACMAN_EXTRALIFE
public static final SoundMap.Sound PACMAN_LEVELUP
public static final SoundMap.Sound PACMAN_GAMESTART
Method Detail |
---|
public static final SoundMap.Sound[] values()
for(SoundMap.Sound c : SoundMap.Sound.values()) System.out.println(c);
public static SoundMap.Sound 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |