Class AnimationVariableSlotCallback<VariableType>
java.lang.Object
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlot
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlotCallback<VariableType>
- All Implemented Interfaces:
IAnimationVariableSlot
- Direct Known Subclasses:
AnimationVariableSlotCallbackBool
,AnimationVariableSlotCallbackFloat
,AnimationVariableSlotCallbackInt
,AnimationVariableSlotCallbackString
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clear this variable, its value is set to a null-value.abstract VariableType
getValue()
boolean
Returns TRUE if this variable is not writable.boolean
trySetValue
(VariableType val) Methods inherited from class zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlot
getKey
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.core.skinnedmodel.advancedanimation.IAnimationVariableSlot
canConvertFrom, getType, getValueBool, getValueFloat, getValueString, setValue, setValue, setValue
-
Method Details
-
getValue
-
getDefaultValue
-
trySetValue
-
isReadOnly
public boolean isReadOnly()Description copied from interface:IAnimationVariableSlot
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. -
clear
public void clear()Clear this variable, its value is set to a null-value. Blank for Strings, 0 for Floats, False for Booleans, etc.
-