#import <CocosNode.h>
Inherited by AtlasSprite, and Sprite.
Public Member Functions | |
| (void) | - setDisplayFrame: |
| (void) | - setDisplayFrame:index: |
| (BOOL) | - isFrameDisplayed: |
| (id) | - displayFrame |
| (id< CocosAnimation >) | - animationByName: |
| (void) | - addAnimation: |
| (void) | - setAutoCenterFrames: |
| - (void) addAnimation: | (id< CocosAnimation >) | animation |
| - (id<CocosAnimation>) animationByName: | (NSString *) | animationName |
returns an Animation given it's name
| - (id) displayFrame |
returns the current displayed frame
| - (BOOL) isFrameDisplayed: | (id) | frame |
returns the current displayed frame
| - (void) setAutoCenterFrames: | (BOOL) | autoCenterFrames |
whether or not the method 'setDisplayFrame' will auto center the frames or not
| - (void) setDisplayFrame: | (id) | newFrame |
sets a new display frame to the node
| - (void) setDisplayFrame: | (NSString *) | animationName | ||
| index: | (int) | frameIndex | ||
changes the display frame based on an animation and an index
1.5.8