Class: ActionPlayer

engine/anime/action~ ActionPlayer


new ActionPlayer()

Action player controls and plays an action defination.

Usually you only need to run an action using Scene#runAction.

Source:

Classes

ActionPlayer

Methods


<static> create(action, target)

Create a player for actor

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

Action to play.

target object

Object this action will target.

Source:
Returns:

ActionPlayer instance.

Type
module:engine/anime/action~ActionPlayer