Animates a sprite given the Animation.
More...
Inherits ActionInterval.
|
static Animate * | create (Animation *animation) |
| Creates the action with an Animation and will restore the original frame when the animation is over. More...
|
|
var | create ( var animation) |
| Creates the action with an Animation and will restore the original frame when the animation is over. More...
|
|
local | create ( local animation) |
| Creates the action with an Animation and will restore the original frame when the animation is over. More...
|
|
Animates a sprite given the Animation.
Creates the action with an Animation and will restore the original frame when the animation is over.
A certain animation. An autoreleased Animate object.
var create |
( |
var |
animation | ) |
|
|
static |
Creates the action with an Animation and will restore the original frame when the animation is over.
A certain animation. An autoreleased Animate object.
local create |
( |
local |
animation | ) |
|
|
static |
Creates the action with an Animation and will restore the original frame when the animation is over.
A certain animation. An autoreleased Animate object.
Sets the Animation object to be animated.
certain animation.
var setAnimation |
( |
var |
animation | ) |
|
Sets the Animation object to be animated.
certain animation.
local setAnimation |
( |
local |
animation | ) |
|
Sets the Animation object to be animated.
certain animation.
returns the Animation object that is being animated
Gets the animation object that is being animated.
returns the Animation object that is being animated
Gets the animation object that is being animated.
returns the Animation object that is being animated
Gets the animation object that is being animated.
int getCurrentFrameIndex |
( |
| ) |
|
|
inline |
Gets the index of current frame's index.
int the index of current frame.
var getCurrentFrameIndex |
( |
| ) |
|
|
inline |
Gets the index of current frame's index.
int the index of current frame.
local getCurrentFrameIndex |
( |
| ) |
|
|
inline |
Gets the index of current frame's index.
int the index of current frame.
The documentation for this class was generated from the following file: