Enum Constant and Description |
---|
APP_NAME
The application's name
|
APP_VERSION
The application's version number
|
BUILD
The application's build number.
|
CONFIG_DIR
The absolute path to the configuration directory that contains the
configuration file
|
COPYRIGHT
The copyright of the application
|
ICON_PATH
Path to the application's icon
|
MAX_DIFFICULTY
The maximum difficulty of the game that can be chosen by the game's
difficulty slider.
|
MIN_DIFFICULTY
The minimum difficulty of the game that can be chosen by the game's
difficulty slider.
|
SAVE_FILE
The absolute path to the file that stores the game's state when it's saved
|
SOUND_PATH
Path to the sound file's directory
|
SUCCESS_IMG
Path to the icon shown at the success window when the game is finished
|
SUCCESS_SOUND
Path to the sound file within the application
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
static Config |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Config[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Config APP_VERSION
public static final Config APP_NAME
public static final Config BUILD
public static final Config COPYRIGHT
public static final Config ICON_PATH
public static final Config SUCCESS_IMG
public static final Config SOUND_PATH
public static final Config SUCCESS_SOUND
public static final Config CONFIG_DIR
public static final Config SAVE_FILE
public static final Config MIN_DIFFICULTY
public static final Config MAX_DIFFICULTY
public static Config[] values()
for (Config c : Config.values()) System.out.println(c);
public static Config 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 null