new Tween(object, game)
Tween constructor Create a new <code>Tween</code>.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
object | Target object will be affected by this tween. |
game |
Phaser.Game | Current game instance. |
- Source:
Members
-
game
-
- Source:
Properties:
Name Type Description gamePhaser.Game A reference to the currently running Game.
-
isRunning
-
- Default Value:
- false
- Source:
Properties:
Name Type Description isRunningboolean Description.
-
onComplete
-
- Source:
Properties:
Name Type Description onCompletePhaser.Signal Description.
-
onStart
-
- Source:
Properties:
Name Type Description onStartPhaser.Signal Description.
-
pendingDelete
-
- Default Value:
- false
- Source:
Properties:
Name Type Description pendingDeleteboolean If this tween is ready to be deleted by the TweenManager.