Package org.rspeer.game.component.tdi
Enum Settings.Audio.Type
- java.lang.Object
-
- java.lang.Enum<Settings.Audio.Type>
-
- org.rspeer.game.component.tdi.Settings.Audio.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Settings.Audio.Type>
- Enclosing class:
- Settings.Audio
public static enum Settings.Audio.Type extends Enum<Settings.Audio.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AREA_SOUND
MASTER
MUSIC
SOUND_EFFECT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Settings.Audio.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Settings.Audio.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MASTER
public static final Settings.Audio.Type MASTER
-
MUSIC
public static final Settings.Audio.Type MUSIC
-
SOUND_EFFECT
public static final Settings.Audio.Type SOUND_EFFECT
-
AREA_SOUND
public static final Settings.Audio.Type AREA_SOUND
-
-
Method Detail
-
values
public static Settings.Audio.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Settings.Audio.Type c : Settings.Audio.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Settings.Audio.Type valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-