Interface IAnimationVariableSourceContainer
- All Superinterfaces:
IAnimationVariableSource
- All Known Implementing Classes:
ActionState
,IsoAnimal
,IsoDummyCameraCharacter
,IsoGameCharacter
,IsoLivingCharacter
,IsoLuaCharacter
,IsoLuaMover
,IsoPlayer
,IsoSurvivor
,IsoZombie
,RandomizedBuildingBase.HumanCorpse
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
containsVariable
(String string) default Iterable
<IAnimationVariableSlot> Returns all Game variables.default IAnimationVariableSlot
getVariable
(String string) Returns the specified variable slot.default IAnimationVariableSlot
getVariable
(AnimationVariableHandle animationVariableHandle) Returns the specified variable slot.default boolean
getVariableBoolean
(String string) Returns the specified variable, as a boolean.default boolean
getVariableBoolean
(String string, boolean boolean0) Returns the specified variable, as a boolean.default float
getVariableFloat
(String string, float float0) Returns the specified variable, as a float.default String
getVariableString
(String string) Returns the specified variable.default boolean
isVariable
(String string0, String string1) Compares (ignoring case) the value of the specified variable.Methods inherited from interface zombie.core.skinnedmodel.advancedanimation.IAnimationVariableSource
getSubVariableSource, getVariableEnum
-
Method Details
-
getGameVariablesInternal
IAnimationVariableSource getGameVariablesInternal() -
getVariable
Description copied from interface:IAnimationVariableSource
Returns the specified variable slot. Or NULL if not found.- Specified by:
getVariable
in interfaceIAnimationVariableSource
-
getVariable
Description copied from interface:IAnimationVariableSource
Returns the specified variable slot. Or NULL if not found.- Specified by:
getVariable
in interfaceIAnimationVariableSource
-
getVariableString
Description copied from interface:IAnimationVariableSource
Returns the specified variable. Or an empty string "" if not found.- Specified by:
getVariableString
in interfaceIAnimationVariableSource
-
getVariableFloat
Description copied from interface:IAnimationVariableSource
Returns the specified variable, as a float. Attempts to convert the string variable to a float. If that fails, or if variable not found, returns the defaultValue- Specified by:
getVariableFloat
in interfaceIAnimationVariableSource
-
getVariableBoolean
Description copied from interface:IAnimationVariableSource
Returns the specified variable, as a boolean. Attempts to convert the string variable to a boolean. If that fails, or if variable not found, returns FALSE- Specified by:
getVariableBoolean
in interfaceIAnimationVariableSource
-
getVariableBoolean
Description copied from interface:IAnimationVariableSource
Returns the specified variable, as a boolean. Attempts to convert the string variable to a boolean. If that fails, or if variable not found, returns defaultVal- Specified by:
getVariableBoolean
in interfaceIAnimationVariableSource
-
getGameVariables
Description copied from interface:IAnimationVariableSource
Returns all Game variables.- Specified by:
getGameVariables
in interfaceIAnimationVariableSource
-
isVariable
Description copied from interface:IAnimationVariableSource
Compares (ignoring case) the value of the specified variable. Returns TRUE if they match.- Specified by:
isVariable
in interfaceIAnimationVariableSource
-
containsVariable
- Specified by:
containsVariable
in interfaceIAnimationVariableSource
-