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 booleancontainsVariable(String name) default Iterable<IAnimationVariableSlot> Returns all Game variables.default IAnimationVariableSlotgetVariable(String key) Returns the specified variable slot.default IAnimationVariableSlotgetVariable(AnimationVariableHandle handle) Returns the specified variable slot.default booleangetVariableBoolean(String name) Returns the specified variable, as a boolean.default booleangetVariableBoolean(String key, boolean defaultVal) Returns the specified variable, as a boolean.default floatgetVariableFloat(String name, float defaultVal) Returns the specified variable, as a float.default StringgetVariableString(String name) Returns the specified variable.default booleanisVariable(String name, String val) Compares (ignoring case) the value of the specified variable.Methods inherited from interface IAnimationVariableSource
getSubVariableSource, getVariableBoolean, getVariableEnum
-
Method Details
-
getGameVariablesInternal
IAnimationVariableSource getGameVariablesInternal() -
getVariable
Description copied from interface:IAnimationVariableSourceReturns the specified variable slot. Or NULL if not found.- Specified by:
getVariablein interfaceIAnimationVariableSource
-
getVariable
Description copied from interface:IAnimationVariableSourceReturns the specified variable slot. Or NULL if not found.- Specified by:
getVariablein interfaceIAnimationVariableSource
-
getVariableString
Description copied from interface:IAnimationVariableSourceReturns the specified variable. Or an empty string "" if not found.- Specified by:
getVariableStringin interfaceIAnimationVariableSource
-
getVariableFloat
Description copied from interface:IAnimationVariableSourceReturns 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:
getVariableFloatin interfaceIAnimationVariableSource
-
getVariableBoolean
Description copied from interface:IAnimationVariableSourceReturns 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:
getVariableBooleanin interfaceIAnimationVariableSource
-
getVariableBoolean
Description copied from interface:IAnimationVariableSourceReturns 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:
getVariableBooleanin interfaceIAnimationVariableSource
-
getGameVariables
Description copied from interface:IAnimationVariableSourceReturns all Game variables.- Specified by:
getGameVariablesin interfaceIAnimationVariableSource
-
isVariable
Description copied from interface:IAnimationVariableSourceCompares (ignoring case) the value of the specified variable. Returns TRUE if they match.- Specified by:
isVariablein interfaceIAnimationVariableSource
-
containsVariable
- Specified by:
containsVariablein interfaceIAnimationVariableSource
-