Repeat Class Reference

#import <IntervalAction.h>

Inherits IntervalAction.

Collaboration diagram for Repeat:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithAction:times:

Static Public Member Functions

(id) + actionWithAction:times:


Detailed Description

Repeats an action a number of times. To repeat an action forever use the RepeatForever action.

Member Function Documentation

+ (id) actionWithAction: (FiniteTimeAction *)  action
times: (unsigned int)  times 

creates the Repeat action. Times is an unsigned integer between 1 and pow(2,30)

- (id) initWithAction: (FiniteTimeAction *)  action
times: (unsigned int)  times 

initializes the action. Times is an unsigned integer between 1 and pow(2,30)


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

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