Class Index | File Index

Classes


Class createjs.SpriteSheet.Animation


Defined in: sprite_sheet.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A class representing a frame used by the createjs.SpriteSheet object.
Method Summary
Method Attributes Method Name and Description
 
getFrame(frame)
Returns the frames of which this animation consists.
 
Returns the frames of which this animation consists.
 
Returns the name of this animation.
 
Returns the next animation.
 
Returns the speed of this animation.
 
setNext(next)
Sets the next animation.
 
setSpeed(speed)
Changes the speed of this animation.
Class Detail
createjs.SpriteSheet.Animation(name)
A class representing a frame used by the createjs.SpriteSheet object.
Parameters:
{string} name
Method Detail
{number} getFrame(frame)
Returns the frames of which this animation consists.
Parameters:
frame
Returns:
{number}

{number} getFrameLength()
Returns the frames of which this animation consists.
Returns:
{number}

{string} getName()
Returns the name of this animation.
Returns:
{string}

{string} getNext()
Returns the next animation.
Returns:
{string}

{number} getSpeed()
Returns the speed of this animation.
Returns:
{number}

setNext(next)
Sets the next animation.
Parameters:
{string} next

setSpeed(speed)
Changes the speed of this animation.
Parameters:
{number} speed

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 04 2016 17:11:29 GMT+0900 (JST)