API Docs for: 1.13.1
Show:

game.Animation Class

Constructor

game.Animation

(
  • textures
)

Parameters:

  • textures Array

    Textures this animation made up of

Item Index

Methods

Properties

Methods

addTo

(
  • container
)

Add to container.

Parameters:

fromFrames

(
  • name
  • reverse
)
static

Parameters:

  • name String
  • reverse Boolean

play

(
  • loop
)

Play animation.

Parameters:

  • loop Boolean

remove

()

Remove from it's parent.

Properties

reverse

Boolean

Play animation in reverse.

Default: false