Package name.moore.kevin.ze.game
Enum gameConfig.keys
- All Implemented Interfaces:
Serializable,Comparable<gameConfig.keys>,java.lang.constant.Constable
- Enclosing class:
- gameConfig
Enum all the allowed settings values in the gameConfig file or provided
on the command line and associate defaults.
All of these keys will be added to the game application settings.
- See Also:
AppSettings
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOutput a diagnostic of the entities and components structure.The base location of XML game files.Screen size, we use 'J' because JME's width height already have meaning.The base location of XML stellar map files.remoteState port to use.The location of a script file - set from command line only.The location of XML specification files, all files in this directory will be loaded.Output diagnostic file of the state machine implemented in zodiac.java.Control output of a trace logging message from update() - this can generate a substantial amount of log messages if enabled. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertiesProperties are always stored as a String.private Stringstatic gameConfig.keysReturns the enum constant of this type with the specified name.static gameConfig.keys[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SPECIFICATIONS
The location of XML specification files, all files in this directory will be loaded.Element
<entry key="specifications">...</entry>, defaults to/src/main/resources/specifications -
GAMES
The base location of XML game files.Element
<entry key="games">...</entry>, defaults to/src/main/resources/games -
MAPS
The base location of XML stellar map files.Element
<entry key="maps">...</entry>, defaults to/src/main/resources/maps -
SCRIPT
The location of a script file - set from command line only.defaults to "" ie no script to execute.
-
REMOTE
remoteState port to use. Need to explicitly switch on with remote=true -
REMOTEPORT
-
STATEMACHINEOUTPUTF
Output diagnostic file of the state machine implemented in zodiac.java.Defaults to
Additionally requires log4j log4j.logger.name.moore.kevin.ze.game.states.appFSM=TRACE/src/site/dia/zodiacstatemachine.dotwhere it is used in site documentation building. -
ECSSTRUCTUREOUTPUTF
Output a diagnostic of the entities and components structure. -
UPDATETRACE
Control output of a trace logging message from update() - this can generate a substantial amount of log messages if enabled. -
JWIDTH
Screen size, we use 'J' because JME's width height already have meaning. -
JHEIGHT
-
LAST
-
-
Field Details
-
def
Default value for a key - the class of which depends on which constructor we used.
-
-
Constructor Details
-
keys
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getDefault
-
getAllDefaults
Properties are always stored as a String.- Returns:
-