Enum appFSM.Trigger

java.lang.Object
java.lang.Enum<appFSM.Trigger>
name.moore.kevin.ze.game.states.appFSM.Trigger
All Implemented Interfaces:
Serializable, Comparable<appFSM.Trigger>, java.lang.constant.Constable
Enclosing class:
appFSM<State,​Trigger>

public static enum appFSM.Trigger extends Enum<appFSM.Trigger>
  • Enum Constant Details

    • JMEREADY

      public static final appFSM.Trigger JMEREADY
      START -> READY automatic
    • GOSTRAT

      public static final appFSM.Trigger GOSTRAT
      ->STRATEGIC automatic from loading a game or completing a tactical mission.
    • GOTACTICAL

      public static final appFSM.Trigger GOTACTICAL
      ->TACTICAL automatic from triggering a tactical mission.
    • GOSTOP

      public static final appFSM.Trigger GOSTOP
      do final cleanup of resources
  • Constructor Details

    • Trigger

      private Trigger()
  • Method Details

    • values

      public static appFSM.Trigger[] 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

      public static appFSM.Trigger 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 name
      NullPointerException - if the argument is null