Class Index | File Index

Classes


Class CAAT.Foundation.SpriteImageAnimationHelper


Defined in: SpriteImageAnimationHelper.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Define an animation frame sequence, name it and supply with a callback which be called when the sequence ends playing.
Field Summary
Field Attributes Field Name and Description
 
A sequence of integer values defining a frame animation.
 
Call this callback function when the sequence ends.
 
Time between any two animation frames.
Method Summary
Method Attributes Method Name and Description
<private>  
__init(animation, time, onEndPlayCallback)
Class Detail
CAAT.Foundation.SpriteImageAnimationHelper()
Define an animation frame sequence, name it and supply with a callback which be called when the sequence ends playing.
Field Detail
animation
A sequence of integer values defining a frame animation. For example [1,2,3,4,3,2,3,4,3,2] Array.

onEndPlayCallback
Call this callback function when the sequence ends.

time
Time between any two animation frames.
Method Detail
<private> __init(animation, time, onEndPlayCallback)
Parameters:
animation
time
onEndPlayCallback

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 01 2013 04:59:18 GMT-0700 (PDT)