CCAnimate Class Reference
| Inherits from | CCActionInterval : CCFiniteTimeAction : CCAction : NSObject |
| Conforms to | NSCopying |
| Declared in | CCActionInterval.h CCIntervalAction.h |
Tasks
Other Methods
-
animationanimation used for the image
property -
+ actionWithAnimation:creates the action with an Animation and will restore the original frame when the animation is over
-
– initWithAnimation:initializes the action with an Animation and will restore the original frame when the animation is over
Other Methods
-
+ actionWithAnimation:restoreOriginalFrame:creates the action with an Animation
-
– initWithAnimation:restoreOriginalFrame:initializes the action with an Animation
-
+ actionWithDuration:animation:restoreOriginalFrame:creates an action with a duration, animation and depending of the restoreOriginalFrame, it will restore the original frame or not. The ‘delay’ parameter of the animation will be overrided by the duration parameter.
-
– initWithDuration:animation:restoreOriginalFrame:initializes an action with a duration, animation and depending of the restoreOriginalFrame, it will restore the original frame or not. The ‘delay’ parameter of the animation will be overrided by the duration parameter.
Class Methods
actionWithAnimation:
creates the action with an Animation and will restore the original frame when the animation is over
+ (id)actionWithAnimation:(CCAnimation *)animationDeclared In
CCActionInterval.hactionWithAnimation:restoreOriginalFrame:
creates the action with an Animation
+ (id)actionWithAnimation:(CCAnimation *)a restoreOriginalFrame:(BOOL)bDeclared In
CCIntervalAction.hactionWithDuration:animation:restoreOriginalFrame:
creates an action with a duration, animation and depending of the restoreOriginalFrame, it will restore the original frame or not. The ‘delay’ parameter of the animation will be overrided by the duration parameter.
+ (id)actionWithDuration:(ccTime)duration animation:(CCAnimation *)animation restoreOriginalFrame:(BOOL)bAvailability
Declared In
CCIntervalAction.hInstance Methods
initWithAnimation:
initializes the action with an Animation and will restore the original frame when the animation is over
- (id)initWithAnimation:(CCAnimation *)animationDeclared In
CCActionInterval.hinitWithAnimation:restoreOriginalFrame:
initializes the action with an Animation
- (id)initWithAnimation:(CCAnimation *)a restoreOriginalFrame:(BOOL)bDeclared In
CCIntervalAction.hinitWithDuration:animation:restoreOriginalFrame:
initializes an action with a duration, animation and depending of the restoreOriginalFrame, it will restore the original frame or not. The ‘delay’ parameter of the animation will be overrided by the duration parameter.
- (id)initWithDuration:(ccTime)duration animation:(CCAnimation *)animation restoreOriginalFrame:(BOOL)bAvailability
Declared In
CCIntervalAction.h