TweenManager#create()

create(object) → {Phaser.Tween} Create a tween object for a specific object. The object can be any JavaScript object or Phaser object such as Sprite. Parameters Name Type Description object object Object the tween will be run on. Returns Phaser.Tween - The newly created tween object. Source code: tween/TweenManager.js (Line 203)

TweenManager#add()

add(tween) → {Phaser.Tween} Add a new tween into the TweenManager. Parameters Name Type Description tween Phaser.Tween The tween object you want to add. Returns Phaser.Tween - The tween object you added to the manager. Source code: tween/TweenManager.js (Line 189)

TweenData.RUNNING

[static] RUNNING : number Source code: tween/TweenData.js (Line 167)

TweenData.PENDING

[static] PENDING : number Source code: tween/TweenData.js (Line 161)

TweenData.LOOPED

[static] LOOPED : number Source code: tween/TweenData.js (Line 173)

TweenData.COMPLETE

[static] COMPLETE : number Source code: tween/TweenData.js (Line 179)

TweenData#yoyoDelay

yoyoDelay : number The amount of time in ms between yoyos of this tween. Source code: tween/TweenData.js (Line 101)

TweenData#yoyo

yoyo : boolean True if the Tween is set to yoyo, otherwise false. Source code: tween/TweenData.js (Line 96)

TweenData#value

[readonly] value : number The current calculated value. Source code: tween/TweenData.js (Line 68)

TweenData#TweenData

new TweenData(parent) A Phaser.Tween contains at least one TweenData object. It contains all of the tween data values, such as thestarting and ending values, the ease function, interpolation and duration. The Tween acts as a timeline manager forTweenData objects and can contain multiple TweenData objects. Parameters Name Type Description parent Phaser.Tween The Tween that owns this TweenData object. Source code: tween/TweenData.js (Line 16)