Interface IAnimationVariableSourceContainer
- All Superinterfaces:
IAnimationVariableSource
- All Known Subinterfaces:
IAnimationVariableRegistry
- All Known Implementing Classes:
ActionState
,IsoAnimal
,IsoDummyCameraCharacter
,IsoGameCharacter
,IsoLivingCharacter
,IsoLuaCharacter
,IsoLuaMover
,IsoPlayer
,IsoSurvivor
,IsoZombie
,RandomizedBuildingBase.HumanCorpse
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
containsVariable
(String arg0) default Iterable
<IAnimationVariableSlot> Returns all Game variables.default IAnimationVariableSlot
getVariable
(String arg0) Returns the specified variable slot.default IAnimationVariableSlot
Returns the specified variable slot.default boolean
getVariableBoolean
(String arg0) Returns the specified variable, as a boolean.default boolean
getVariableBoolean
(String arg0, boolean arg1) Returns the specified variable, as a boolean.default float
getVariableFloat
(String arg0, float arg1) Returns the specified variable, as a float.default String
getVariableString
(String arg0) Returns the specified variable.default boolean
isVariable
(String arg0, String arg1) Compares (ignoring case) the value of the specified variable.Methods inherited from interface zombie.core.skinnedmodel.advancedanimation.IAnimationVariableSource
getSubVariableSource, getVariableBoolean, 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
-