CCAnimate Class Reference
Inherits from | CCActionInterval : CCFiniteTimeAction : CCAction : NSObject |
Conforms to | NSCopying |
Declared in | CCActionInterval.h CCIntervalAction.h |
Tasks
Other Methods
-
animation
animation 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 *)animation
Declared In
CCActionInterval.h
actionWithAnimation:restoreOriginalFrame:
creates the action with an Animation
+ (id)actionWithAnimation:(CCAnimation *)a restoreOriginalFrame:(BOOL)b
Declared In
CCIntervalAction.h
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.
+ (id)actionWithDuration:(ccTime)duration animation:(CCAnimation *)animation restoreOriginalFrame:(BOOL)b
Availability
Declared In
CCIntervalAction.h
Instance Methods
initWithAnimation:
initializes the action with an Animation and will restore the original frame when the animation is over
- (id)initWithAnimation:(CCAnimation *)animation
Declared In
CCActionInterval.h
initWithAnimation:restoreOriginalFrame:
initializes the action with an Animation
- (id)initWithAnimation:(CCAnimation *)a restoreOriginalFrame:(BOOL)b
Declared In
CCIntervalAction.h
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.
- (id)initWithDuration:(ccTime)duration animation:(CCAnimation *)animation restoreOriginalFrame:(BOOL)b
Availability
Declared In
CCIntervalAction.h