API Docs for: 0.5.5
Show:

kick.animation.AnimationComponent Class

Constructor

kick.animation.AnimationComponent

(
  • config
)

Parameters:

  • config Config

    defines one or more properties

Methods

addAnimation

(
  • animation
)

Parameters:

getAnimation

(
  • index
)
kick.animation.Animation

Parameters:

  • index Number

removeAnimation

(
  • animation
)

Parameters:

toJSON

() Object

Returns:

Object:

data object

Properties

count

Number

scriptPriority

Number

Set the scriptPriority to 1 (invoked before other scripts)

Default: 1