new ChainedAnimation(animations)
A TA.Animation object that chains multiple animations sequentially
Parameters:
| Name | Type | Description |
|---|---|---|
animations |
Array.<TA.Animation> | array of TA.Animation objects |
- Implements:
- Source:
Methods
addAnimation(animation)
adds another animation to the queue
Parameters:
| Name | Type | Description |
|---|---|---|
animation |
TA.Animation | the animation to add |
- Source:
start(obj, completeopt)
Starts the animation
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
obj |
TA.Object | the TA.Object to apply the Animation to | |
complete |
function |
<optional> |
function to be called when the animation is finished |
- Implements:
- Source: