API Docs for: 1.13.1
Show:

game.TweenGroup Class

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

Constructor

game.TweenGroup

(
  • [onComplete]
)

Defined in engine/tween.js:658

Parameters:

  • [onComplete] Function optional

Methods

add

(
  • tween
)
game.Tween

Defined in engine/tween.js:673

Add tween to group.

Parameters:

Returns:

game.Tween:

tween

extend

(
  • prop
)
game.Class

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

Extend class.

Parameters:

  • prop Object

Returns:

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

pause

()

Defined in engine/tween.js:714

remove

(
  • tween
)

Defined in engine/tween.js:697

Parameters:

resume

()

Defined in engine/tween.js:723

start

()

Defined in engine/tween.js:705

staticInit

(
  • arguments
)

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

This method is called before init.

Parameters:

  • arguments Array

stop

(
  • doComplete
  • endTween
)

Defined in engine/tween.js:732

Parameters:

  • doComplete Boolean

    Call onComplete function

  • endTween Boolean

    Set started tweens to end values

tweenComplete

()

Defined in engine/tween.js:685