com.haxepunk.tweens.motion.Motion

type
class
extends
com.haxepunk.Tween
subclasses
com.haxepunk.tweens.motion.CircularMotion, com.haxepunk.tweens.motion.CubicMotion, com.haxepunk.tweens.motion.LinearMotion, com.haxepunk.tweens.motion.LinearPath, com.haxepunk.tweens.motion.QuadMotion, com.haxepunk.tweens.motion.QuadPath
Base class for motion Tweens.

Constructor

parameters
duration Duration of the Tween.
complete Optional completion callback.
type Tween type.
ease Optional easer function.
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

x : Float

Current x position of the Tween.

y : Float

Current y position of the 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

update() : Void

willTrigger(type : String) : Bool