Animate Class Reference

#import <IntervalAction.h>

Inherits IntervalAction.

Collaboration diagram for Animate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithAnimation:
(id) - initWithAnimation:restoreOriginalFrame:

Static Public Member Functions

(id) + actionWithAnimation:
(id) + actionWithAnimation:restoreOriginalFrame:


Detailed Description

Animates a sprite given the name of an Animation

Member Function Documentation

+ (id) actionWithAnimation: (id< CocosAnimation >)  a  

creates the action with an Animation and will restore the original frame when the animation is over

+ (id) actionWithAnimation: (id< CocosAnimation >)  a
restoreOriginalFrame: (BOOL)  b 

creates the action with an Animation

- (id) initWithAnimation: (id< CocosAnimation >)  a  

initializes the action with an Animation and will restore the original frame when the animtion is over

- (id) initWithAnimation: (id< CocosAnimation >)  a
restoreOriginalFrame: (BOOL)  b 

initializes the action with an Animation


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