expects the name of the effected key of the given object from constructor
expects the value for ending postion if this motion
expects the duration of this motion in milliseconds
optional: the name of the easing-function (default is 'linear')
Adds a new combined motion to the tween objects. In actions are some motions combined, which should be changed in the same time. When the tween is playing it will change the the defined key of the given object to make an animation.
expects an array of key-target pairs for this motion
expects the duration of this motion in milliseconds
optional: the name of the easing-function (default is 'linear')
Stops the tween and holds the current state
Removes all motions from this tween
Sets the tween back to the first motion
Starts the tween from the current state, when the tween was paused
Starts the tween and plays it again and again.
Starts the tween and plays it one time
Generated using TypeDoc
Adds a new motion to the tween object. When the tween is playing it will change the the defined key of the given object to make an animation.