Class AnimationVariableSlotCallbackEnum<EnumType extends Enum<EnumType>>
java.lang.Object
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlot
zombie.core.skinnedmodel.advancedanimation.AbstractAnimationVariableSlotEnum<EnumType>
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlotCallbackEnum<EnumType>
- All Implemented Interfaces:
IAnimationVariableSlot
public class AnimationVariableSlotCallbackEnum<EnumType extends Enum<EnumType>>
extends AbstractAnimationVariableSlotEnum<EnumType>
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear this variable, its value is set to a null-value.getValue()booleanReturns TRUE if this variable is not writable.voidbooleantrySetValue(EnumType _enum) Methods inherited from class zombie.core.skinnedmodel.advancedanimation.AbstractAnimationVariableSlotEnum
canConvertFrom, getDefaultValue, getEnumTypeClass, getEnumValue, getType, getValueBool, getValueFloat, getValueString, setEnumValue, setValue, setValue, setValueMethods inherited from class zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlot
getDescription, getKeyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.core.skinnedmodel.advancedanimation.IAnimationVariableSlot
getHandle, setReadOnly
-
Method Details
-
getValue
-
setValue
-
trySetValue
-
isReadOnly
public boolean isReadOnly()Description copied from interface:IAnimationVariableSlotReturns 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()Description copied from interface:IAnimationVariableSlotClear this variable, its value is set to a null-value. Blank for Strings, 0 for Floats, False for Booleans, etc.- Specified by:
clearin interfaceIAnimationVariableSlot- Overrides:
clearin classAbstractAnimationVariableSlotEnum<EnumType extends Enum<EnumType>>
-