Class AbstractAnimationVariableSlotEnum<EnumType extends Enum<EnumType>>
java.lang.Object
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSlot
zombie.core.skinnedmodel.advancedanimation.AbstractAnimationVariableSlotEnum<EnumType>
- All Implemented Interfaces:
IAnimationVariableSlot
- Direct Known Subclasses:
AnimationVariableSlotCallbackEnum, AnimationVariableSlotEnum
public abstract class AbstractAnimationVariableSlotEnum<EnumType extends Enum<EnumType>>
extends AnimationVariableSlot
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractAnimationVariableSlotEnum(Class<EnumType> enumTypeClass, String key, EnumType defaultVal, IAnimationVariableSlotDescriptor descriptor) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvertFrom(String val) voidclear()<E extends Enum<E>>
EgetEnumValue(E defaultVal) getType()abstract EnumTypegetValue()booleanfloatint<E extends Enum<E>>
voidsetEnumValue(E val) voidsetValue(boolean val) voidsetValue(float val) voidsetValue(int val) abstract voidvoidMethods inherited from class AnimationVariableSlot
getDescription, getKeyMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAnimationVariableSlot
getHandle, isReadOnly, setReadOnly
-
Constructor Details
-
AbstractAnimationVariableSlotEnum
public AbstractAnimationVariableSlotEnum(Class<EnumType> enumTypeClass, String key, EnumType defaultVal, IAnimationVariableSlotDescriptor descriptor)
-
-
Method Details
-
getEnumTypeClass
-
getValue
-
setValue
-
getEnumValue
-
setEnumValue
-
getValueString
-
getValueFloat
public float getValueFloat() -
getValueInt
public int getValueInt() -
getValueBool
public boolean getValueBool() -
getDefaultValue
-
setValue
-
setValue
public void setValue(float val) -
setValue
public void setValue(int val) -
setValue
public void setValue(boolean val) -
getType
-
canConvertFrom
-
clear
public void clear()
-