API Docs for: 1.13.1
Show:

game.TweenEngine Class

Extends game.Class
Defined in: engine/tween.js:13
Module: tween

Methods

extend

(
  • prop
)
game.Class

Inherited from game.Class: engine/core.js:757

Extend class.

Parameters:

  • prop Object

Returns:

getTweenForObject

(
  • object
)

Defined in engine/tween.js:45

Get first tween for specific object.

Parameters:

  • object Object

init

(
  • arguments
)

Inherited from game.Class: engine/core.js:811

This method is called, when you create new instance of the class.

Parameters:

  • arguments Array

inject

(
  • prop
)

Inherited from game.Class: engine/core.js:825

Inject class.

Parameters:

  • prop Object

removeAll

()

Defined in engine/tween.js:24

Remove all tweens.

staticInit

(
  • arguments
)

Inherited from game.Class: engine/core.js:795

This method is called before init.

Parameters:

  • arguments Array

stopTweensForObject

(
  • object
)

Defined in engine/tween.js:34

Stop all tweens for specific object.

Parameters:

  • object Object

Properties

tweens

Array

Defined in engine/tween.js:18

List of tweens.