Enum Class CharacterJoypadAxis2dBinding

java.lang.Object
java.lang.Enum<CharacterJoypadAxis2dBinding>
zombie.characters.CharacterJoypadAxis2dBinding
All Implemented Interfaces:
Serializable, Comparable<CharacterJoypadAxis2dBinding>, Constable

public enum CharacterJoypadAxis2dBinding extends Enum<CharacterJoypadAxis2dBinding>
  • Enum Constant Details

  • Method Details

    • values

      public static CharacterJoypadAxis2dBinding[] 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 CharacterJoypadAxis2dBinding 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
    • fromString

      public static CharacterJoypadAxis2dBinding fromString(String name)
    • getJoypadAxis

      public JoypadAxis2d getJoypadAxis()
    • getBinding

      public JoypadAxis2d getBinding()
    • setBinding

      public void setBinding(JoypadAxis2d newBinding)
    • setDefault

      public void setDefault()
    • getLength

      public float getLength(int joypadBind)
    • getValue

      public Vector2 getValue(int joypadBind, Vector2 out)
    • getValueX

      public float getValueX(int joypadBind)
    • getValueY

      public float getValueY(int joypadBind)
    • isApplied

      public boolean isApplied(int joypadBind)