cocos2d-iphone
2.0
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionInterval.h>
Public Member Functions | |
(id) | - initWithAnimation: |
(id) | - initWithAnimation:restoreOriginalFrame: |
(id) | - initWithDuration:animation:restoreOriginalFrame: |
Static Public Member Functions | |
(id) | + actionWithAnimation: |
(id) | + actionWithAnimation:restoreOriginalFrame: |
(id) | + actionWithDuration:animation:restoreOriginalFrame: |
Protected Attributes | |
NSMutableArray * | splitTimes_ |
NSInteger | nextFrame_ |
CCAnimation * | animation_ |
id | origFrame_ |
NSUInteger | executedLoops_ |
Properties | |
CCAnimation * | animation |
Animates a sprite given the name of an Animation
+ (id) actionWithAnimation: | (CCAnimation *) | animation |
creates the action with an Animation and will restore the original frame when the animation is over
- (id) initWithAnimation: | (CCAnimation *) | animation |
initializes the action with an Animation and will restore the original frame when the animtion is over
- (CCAnimation*) animation [read, write, retain] |
animation used for the animage