com.haxepunk.tweens.misc.VarTween

type
class
extends
com.haxepunk.Tween
Tweens a numeric public property of an Object.

Constructor

parameters
complete Optional completion callback.
type Tween type.
Constructor.

Instance Variables hide inherited show inherited

active : Bool

inherited from com.haxepunk.Tween

percent(getPercent,setPercent) : Float

inherited from com.haxepunk.Tween

scale(getScale,null) : Float

inherited from com.haxepunk.Tween

Instance Methods hide inherited show inherited

DispatchCompleteEvent() : Void

DispatchIOErrorEvent() : Void

addEventListener(type : String, listener : Function, ?useCapture : Bool, ?priority : Int, ?useWeakReference : Bool) : Void

cancel() : Void

inherited from com.haxepunk.Tween
Immediately stops the Tween and removes it from its Tweener without calling the complete callback.

dispatchEvent(event : Event) : Bool

hasEventListener(type : String) : Bool

removeEventListener(type : String, listener : Function, ?capture : Bool) : Void

start() : Void

inherited from com.haxepunk.Tween
Starts the Tween, or restarts it if it's currently running.

toString() : String

tween(object : Dynamic, property : String, to : Float, duration : Float, ?ease : com.haxepunk.utils.EaseFunction) : Void

parameters
object The object containing the property.
property The name of the property (eg. "x").
to Value to tween to.
duration Duration of the tween.
ease Optional easer function.
Tweens a numeric public property.

willTrigger(type : String) : Bool