Class: Tween

Tween

Tween

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

Properties:
Name Type Description
game Phaser.Game

A reference to the currently running Game.

Source:

isRunning

Properties:
Name Type Description
isRunning boolean

Description.

Default Value:
  • false
Source:

onComplete

Properties:
Name Type Description
onComplete Phaser.Signal

Description.

Source:

onStart

Properties:
Name Type Description
onStart Phaser.Signal

Description.

Source:

pendingDelete

Properties:
Name Type Description
pendingDelete boolean

If this tween is ready to be deleted by the TweenManager.

Default Value:
  • false
Source:
Phaser Copyright © 2012-2013 Photon Storm Ltd.
Documentation generated by JSDoc 3.2.0-dev on Thu Oct 03 2013 01:53:32 GMT+0100 (BST) using the DocStrap template.