javoids
Enum SoundMap.Sound

java.lang.Object
  extended by java.lang.Enum<SoundMap.Sound>
      extended by javoids.SoundMap.Sound
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SoundMap.Sound>
Enclosing class:
SoundMap

public static enum SoundMap.Sound
extends java.lang.Enum<SoundMap.Sound>

A list of sound names for the game.

Author:
mallette

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

NO_SOUND

public static final SoundMap.Sound NO_SOUND
a default to represent when no sound is selected


THRUST

public static final SoundMap.Sound THRUST
the sound of an engine thrust


AFTERBURNER

public static final SoundMap.Sound AFTERBURNER
the sound of an engine afterburner


GUN1

public static final SoundMap.Sound GUN1
the sound of a gun


GUN2

public static final SoundMap.Sound GUN2
the sound of a gun


GUN3

public static final SoundMap.Sound GUN3
the sound of a gun


MACHINEGUN1

public static final SoundMap.Sound MACHINEGUN1
the sound of a gun


MACHINEGUN2

public static final SoundMap.Sound MACHINEGUN2
the sound of a gun


MACHINEGUN3

public static final SoundMap.Sound MACHINEGUN3
the sound of a gun


ROCKET1

public static final SoundMap.Sound ROCKET1
the sound of a missile


POWERUP

public static final SoundMap.Sound POWERUP
the sound of a powerup


POWERUPDIE

public static final SoundMap.Sound POWERUPDIE
the sound of a powerup being destroyed


JAVOIDHIT

public static final SoundMap.Sound JAVOIDHIT
the sound of a javoid being hit


JAVOIDDIE

public static final SoundMap.Sound JAVOIDDIE
the sound of a javoid being destroyed


MINEHIT

public static final SoundMap.Sound MINEHIT
the sound of a mine being hit


MINEDIE

public static final SoundMap.Sound MINEDIE
the sound of a mine being destroyed


SHIPHIT

public static final SoundMap.Sound SHIPHIT
the sound of a ship being hit


SHIPDIE

public static final SoundMap.Sound SHIPDIE
the sound of a ship being destroyed


SHIP_EXTRALIFE

public static final SoundMap.Sound SHIP_EXTRALIFE
the sound of a ship being given an extra life


PACMAN_DIE

public static final SoundMap.Sound PACMAN_DIE
the sound of a pacman being destroyed


PACMAN_EATDOT

public static final SoundMap.Sound PACMAN_EATDOT
the sound of a pacman eating a dot


PACMAN_EATFRUIT

public static final SoundMap.Sound PACMAN_EATFRUIT
the sound of a pacman eating a fruit


PACMAN_EATGHOST

public static final SoundMap.Sound PACMAN_EATGHOST
the sound of a pacman eating a ghost


PACMAN_EXTRALIFE

public static final SoundMap.Sound PACMAN_EXTRALIFE
the sound of a pacman being awarded an extra life


PACMAN_LEVELUP

public static final SoundMap.Sound PACMAN_LEVELUP
the sound of a level up when in pacman mode


PACMAN_GAMESTART

public static final SoundMap.Sound PACMAN_GAMESTART
the sound of the pacman mode being started

Method Detail

values

public static final SoundMap.Sound[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SoundMap.Sound c : SoundMap.Sound.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static SoundMap.Sound valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name