AtlasAnimation Class Reference

#import <AtlasSprite.h>

Inherits CocosAnimation-p.

Collaboration diagram for AtlasAnimation:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithName:delay:
(id) - initWithName:delay:firstFrame:vaList:
(void) - addFrameWithRect:

Static Public Member Functions

(id) + animationWithName:delay:
(id) + animationWithName:delay:frames:


Detailed Description

an Animation object used within Sprites to perform animations

Member Function Documentation

- (void) addFrameWithRect: (CGRect)  rect  

adds a frame to an Animation

+ (id) animationWithName: (NSString *)  name
delay: (float)  delay 

creates an AtlasAnimation with an AtlasSpriteManager, a name, delay between frames

+ (id) animationWithName: (NSString *)  name
delay: (float)  delay
frames: (frame1) 
,   NS_REQUIRES_NIL_TERMINATION 

creates an AtlasAnimation with an AtlasSpriteManager, a name, delay between frames and the AtlasSpriteFrames

- (id) initWithName: (NSString *)  name
delay: (float)  delay 

initializes an Animation with an AtlasSpriteManger, a name and delay between frames

- (id) initWithName: (NSString *)  name
delay: (float)  delay
firstFrame: (AtlasSpriteFrame *)  frame
vaList: (va_list)  args 

initializes an AtlasAnimation with an AtlasSpriteManager, a name, and the AltasSpriteFrames


The documentation for this class was generated from the following file:

Generated on Tue Jun 9 10:39:28 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8