Enum zodiac.ZSTATE

java.lang.Object
java.lang.Enum<zodiac.ZSTATE>
name.moore.kevin.ze.zodiac.ZSTATE
All Implemented Interfaces:
Serializable, Comparable<zodiac.ZSTATE>, java.lang.constant.Constable
Enclosing class:
zodiac

public static enum zodiac.ZSTATE extends Enum<zodiac.ZSTATE>
Connects the JME app states, a unique identifier and the finite state machine.

Adding a new entry in this enum (along with developing a new state) should be enough to setup the state and correctly get it working with the FSM

  • Enum Constant Details

  • Field Details

    • clazz

      public Class clazz
    • enabledStates

      public List<appFSM.State> enabledStates
    • appStateObject

      public com.jme3.app.state.AppState appStateObject
      Set when we actually create the appstates in constructor.
  • Constructor Details

  • Method Details

    • values

      public static zodiac.ZSTATE[] 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 zodiac.ZSTATE 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