Class: ActionPlayer

engine/anime/action~ActionPlayer. ActionPlayer


new ActionPlayer(action, target)

Parameters:
Name Type Description
action module:engine/anime/action~Action

Action to play.

target object

Target object this action is apply to.

Source:

Members


finished :boolean

Whether this action is finished

Type:
  • boolean
Default Value:
  • false
Source:

looped :boolean

Loop the action or not

Type:
  • boolean
Default Value:
  • false
Source:

speed :number

Play speed (-1: reverse, 0: stop, 1: forward)

Type:
  • number
Default Value:
  • 1
Source:

time :number

Current time

Type:
  • number
Default Value:
  • 0
Source: