TweenData.COMPLETE

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

TweenData.LOOPED

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

TweenData.PENDING

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

TweenData.RUNNING

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

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)

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#frameBased

frameBased : boolean Are all newly created Tweens frame or time based? A frame based tween will use the physics elapsed timer when updating. This meansit will retain the same consistent frame rate, regardless of the speed of the device. The duration value given shouldbe given in frames. If the Tween uses a time based update (which is the default) then the duration is given in milliseconds.In this situation a 2000ms tween will last exactly 2 seconds, regardless of the device and how many visua

TweenManager#game

game : Phaser.Game Local reference to game. Source code: tween/TweenManager.js (Line 25)

TweenManager#getAll()

getAll() → {Array.<Phaser.Tween>} Get all the tween objects in an array. Returns Array.<Phaser.Tween> - Array with all tween objects. Source code: tween/TweenManager.js (Line 114)

TweenManager#isTweening()

isTweening(object) → {boolean} Checks to see if a particular Sprite is currently being tweened. Parameters Name Type Description object object The object to check for tweens against. Returns boolean - Returns true if the object is currently being tweened, false if not. Source code: tween/TweenManager.js (Line 285)