Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2016-0-4 21:22

Class enchant.Timeline

Time-line class. Class for managing the action. For one node to manipulate the timeline of one must correspond. Time-line class has a method to add a variety of actions to himself, entities can be animated and various operations by using these briefly. You can choose time based and frame based(default) animation.

Class Summary
Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
action(params)
 
add(action)
 
and()
 
 
cue(cue)
 
delay(time)
 
exec(func)
 
fadeIn(time, easing)
 
fadeOut(time, easing)
 
fadeTo(opacity, time, easing)
 
hide()
 
loop()
 
moveBy(x, y, time, easing)
 
moveTo(x, y, time, easing)
 
moveX(x, time, easing)
 
moveY(y, time, easing)
 
next(remainingTime)
 
 
 
repeat(func, time)
 
 
rotateBy(deg, time, easing)
 
rotateTo(deg, time, easing)
 
scaleBy(scaleX, scaleY, time, easing)
 
scaleTo(scaleX, scaleY, time, easing)
 
 
 
show()
 
skip(frames)
 
then(func)
 
tick(elapsed)
 
tween(params)
 
 
waitUntil(func)
Methods borrowed from class enchant.EventTarget:
addEventListener
clearEventListener
dispatchEvent
on
removeEventListener

Class Detail

enchant.Timeline(node)
Parameters:
{enchant.Node} node
target node.

Method Detail