java.lang.Object
java.lang.Enum<EGroundState>
com.github.stephengold.joltjni.enumerate.EGroundState
All Implemented Interfaces:
Serializable, Comparable<EGroundState>, Constable

public enum EGroundState extends Enum<EGroundState>
Categorize the possible relationships between a character and its supporting surface. (native type: CharacterBase::EGroundState)
  • Enum Constant Details

    • OnGround

      public static final EGroundState OnGround
      fully supported
    • OnSteepGround

      public static final EGroundState OnSteepGround
      in contact but unable to climb
    • NotSupported

      public static final EGroundState NotSupported
      in contact but unsupported
    • InAir

      public static final EGroundState InAir
      not in contact
  • Method Details

    • values

      public static EGroundState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EGroundState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null