|
cocos2d-mac
2.1
Improved Cocos2D API Reference (Mac OS X 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 animation is over
- (CCAnimation*) animation [read, write, retain] |
animation used for the image