Package name.moore.kevin.ze.game.states
Enum appFSM.Trigger
- All Implemented Interfaces:
Serializable,Comparable<appFSM.Trigger>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiondo final cleanup of resources->STRATEGIC automatic from loading a game or completing a tactical mission.->TACTICAL automatic from triggering a tactical mission.START -> READY automatic -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic appFSM.TriggerReturns the enum constant of this type with the specified name.static appFSM.Trigger[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
JMEREADY
START -> READY automatic -
GOSTRAT
->STRATEGIC automatic from loading a game or completing a tactical mission. -
GOTACTICAL
->TACTICAL automatic from triggering a tactical mission. -
GOSTOP
do final cleanup of resources
-
-
Constructor Details
-
Trigger
private Trigger()
-
-
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
-