Class AnimationVariableSource
java.lang.Object
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSource
- All Implemented Interfaces:
IAnimationVariableCallbackMap,IAnimationVariableMap,IAnimationVariableSource
- Direct Known Subclasses:
AnimatedModel
public class AnimationVariableSource
extends Object
implements IAnimationVariableMap, IAnimationVariableCallbackMap
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearVariable(String key) voidbooleancontainsVariable(String key) Returns all Game variables.getVariable(AnimationVariableHandle handle) Returns the specified variable slot.booleanisEmpty()booleanisVariable(String name, String val) Compares (ignoring case) the value of the specified variable.voidsetVariable(String string, boolean boolean0) setVariable(String string, float float0) setVariable(String string0, String string1) setVariable(AnimationVariableHandle animationVariableHandle, boolean boolean0) voidDescription copied from interface: IAnimationVariableMap<EnumType extends Enum<EnumType>>
IAnimationVariableSlotsetVariableEnum(String string, EnumType _enum) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.core.skinnedmodel.advancedanimation.IAnimationVariableCallbackMap
setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariableMethods inherited from interface zombie.core.skinnedmodel.advancedanimation.IAnimationVariableSource
getSubVariableSource, getVariable, getVariableBoolean, getVariableBoolean, getVariableBoolean, getVariableEnum, getVariableFloat, getVariableString
-
Constructor Details
-
AnimationVariableSource
public AnimationVariableSource()
-
-
Method Details
-
getVariable
Returns the specified variable slot. Or NULL if not found.- Specified by:
getVariablein interfaceIAnimationVariableSource
-
isEmpty
public boolean isEmpty() -
setVariable
Description copied from interface: IAnimationVariableMap- Specified by:
setVariablein interfaceIAnimationVariableMap
-
setVariable
- Specified by:
setVariablein interfaceIAnimationVariableMap
-
setVariable
- Specified by:
setVariablein interfaceIAnimationVariableMap
-
setVariable
- Specified by:
setVariablein interfaceIAnimationVariableMap
-
setVariable
public IAnimationVariableSlot setVariable(AnimationVariableHandle animationVariableHandle, boolean boolean0) - Specified by:
setVariablein interfaceIAnimationVariableMap
-
setVariableEnum
public <EnumType extends Enum<EnumType>> IAnimationVariableSlot setVariableEnum(String string, EnumType _enum) - Specified by:
setVariableEnumin interfaceIAnimationVariableMap
-
clearVariable
- Specified by:
clearVariablein interfaceIAnimationVariableMap
-
clearVariables
public void clearVariables()- Specified by:
clearVariablesin interfaceIAnimationVariableMap
-
removeAllVariables
public void removeAllVariables() -
getGameVariables
Returns all Game variables.- Specified by:
getGameVariablesin interfaceIAnimationVariableSource
-
isVariable
Compares (ignoring case) the value of the specified variable. Returns TRUE if they match.- Specified by:
isVariablein interfaceIAnimationVariableSource
-
containsVariable
- Specified by:
containsVariablein interfaceIAnimationVariableSource
-