Class GLGE.Animatable
Animation class to agument animatiable objects
Defined in: glge.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
animate()
update animated properties on this object
|
|
Gets the animation vector of this object
|
|
Gets the frame rate of the animation
|
|
setAnimation(animationVector)
Sets the animation vector of this object
|
|
setFrameRate(value)
Sets the frame rate of the animation
|
Method Detail
animate()
update animated properties on this object
{AnimationVector}
getAnimation()
Gets the animation vector of this object
- Returns:
- {AnimationVector}
{number}
getFrameRate()
Gets the frame rate of the animation
- Returns:
- {number} the current frame rate
setAnimation(animationVector)
Sets the animation vector of this object
- Parameters:
- {GLGE.AnimationVector} animationVector
- the animation to apply to this object
setFrameRate(value)
Sets the frame rate of the animation
- Parameters:
- {number} value
- the frame rate to set