API Docs for: 1.13.1
Show:

game.Tween Class

Extends game.Class
Module: tween

Constructor

game.Tween

(
  • object
)

Parameters:

  • object Object

Methods

chain

(
  • tween
)

Parameters:

delay

(
  • time
  • repeat
)

Parameters:

  • time Number
  • repeat Boolean

easing

(
  • easing
)

Parameters:

  • easing Function

interpolation

(
  • interpolation
)

Parameters:

  • interpolation Function

onComplete

(
  • callback
)

Parameters:

  • callback Function

onRepeat

(
  • callback
)

Parameters:

  • callback Function

onStart

(
  • callback
)

Parameters:

  • callback Function

onUpdate

(
  • callback
)

Parameters:

  • callback Function

pause

()

repeat

(
  • times
)

Parameters:

  • times Number

resume

()

start

()

stop

()

stopChainedTweens

()

to

(
  • properties
  • duration
)

Parameters:

  • properties Object
  • duration Number

yoyo

(
  • enabled
)

Parameters:

  • enabled Boolean

Properties

paused

Boolean

Is tween paused.

playing

Boolean

Is tween playing.

Attributes

Easing

Object

Interpolation

Object