Fork me on GitHub
View source

package haxepunk.tweens.misc

class MultiVarTween


extends Tween

Tweens multiple numeric public properties of an Object simultaneously.

Constructor

View source

new (type : TweenType) : Void

Constructor.


Parameters:
complete   

Optional completion callback.

type   

Tween type.

Functions

View source

tween (object : Dynamic, properties : Dynamic, duration : Float, ease : EaseFunction) : Void

Tweens multiple numeric public properties.


Parameters:
object   

The object containing the properties.

properties   

An object containing key/value pairs of properties and target values.

duration   

Duration of the tween.

ease   

Optional easer function.