Animation Class Reference
#import <Sprite.h>
Inherits CocosAnimation-p.
List of all members.
Detailed Description
an
Animation object used within Sprites to perform animations
Member Function Documentation
| - (void) addFrameWithFilename: |
|
(NSString *) |
filename |
|
|
| - (void) addFrameWithTexture: |
|
(Texture2D *) |
tex |
|
|
| + (id) animationWithName: |
|
(NSString *) |
name |
| delay: |
|
(float) |
delay | |
|
|
| | |
creates an Animation with name, delay and frames from image files
| + (id) animationWithName: |
|
(NSString *) |
name |
| delay: |
|
(float) |
delay |
| images: |
|
(image1) |
|
| , |
|
|
NS_REQUIRES_NIL_TERMINATION | |
|
|
| | |
creates an Animation with name, delay and frames from image files
| + (id) animationWithName: |
|
(NSString *) |
name |
| delay: |
|
(float) |
delay |
| textures: |
|
(tex1) |
|
| , |
|
|
NS_REQUIRES_NIL_TERMINATION | |
|
|
| | |
| - (id) initWithName: |
|
(NSString *) |
name |
| delay: |
|
(float) |
delay | |
|
|
| | |
| - (id) initWithName: |
|
(NSString *) |
name |
| delay: |
|
(float) |
delay |
| firstImage: |
|
(NSString *) |
filename |
| vaList: |
|
(va_list) |
args | |
|
|
| | |
initializes an Animation with name, delay and frames from image files
| - (id) initWithName: |
|
(NSString *) |
name |
| delay: |
|
(float) |
delay |
| firstTexture: |
|
(Texture2D *) |
tex |
| vaList: |
|
(va_list) |
args | |
|
|
| | |
The documentation for this class was generated from the following file:
- /Users/riq/progs/cocos2d-iphone/branches/branch-0.7/cocos2d/Sprite.h