Interface IAnimationVariableSlot

  • Method Details

    • getKey

      String getKey()
      This variable's unique key
    • getValueString

      String getValueString()
      This variable's value, in String form.
    • getValueFloat

      float getValueFloat()
      This variable's value, as a Float.
    • getValueBool

      boolean getValueBool()
      This variable's value, as a Boolean.
    • getEnumValue

      default <EnumType extends Enum<EnumType>> EnumType getEnumValue(EnumType _enum)
    • setEnumValue

      default <EnumType extends Enum<EnumType>> void setEnumValue(EnumType _enum)
    • setValue

      void setValue(String val)
      Set this variable's value
    • setValue

      void setValue(float val)
      Set this variable's value
    • setValue

      void setValue(boolean val)
      Set this variable's value
    • getType

      This variable's value type
    • canConvertFrom

      boolean canConvertFrom(String val)
      Returns TRUE if this variable slot can accept and/or convert the supplied value object. Returns FALSE if the conversion would result in a loss of data. Eg. If a String is given to a Float variable, and the string is not of a numeric format, then the string value would be lost.
    • clear

      void clear()
      Clear this variable, its value is set to a null-value. Blank for Strings, 0 for Floats, False for Booleans, etc.
    • isReadOnly

      default boolean isReadOnly()
      Returns TRUE if this variable is not writable. Typically, the value of this variable is specified by an outside condition, such as whether the character is currently falling, etc.
    • setReadOnly

      default boolean setReadOnly(boolean var1)
    • getHandle

      default AnimationVariableHandle getHandle()