cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCRepeat Class Reference

#import <CCActionInterval.h>

+ Inheritance diagram for CCRepeat:
+ Collaboration diagram for CCRepeat:

List of all members.

Public Member Functions

(id) - initWithAction:times:

Static Public Member Functions

(id) + actionWithAction:times:

Protected Attributes

NSUInteger _times
NSUInteger _total
ccTime _nextDt
BOOL _isActionInstant
CCFiniteTimeAction_innerAction

Properties

CCFiniteTimeActioninnerAction

Detailed Description

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


Member Function Documentation

+ (id) actionWithAction: (CCFiniteTimeAction *)  action
times: (NSUInteger)  times 

creates a CCRepeat action. Times is an unsigned integer between 1 and MAX_UINT.

- (id) initWithAction: (CCFiniteTimeAction *)  action
times: (NSUInteger)  times 

initializes a CCRepeat action. Times is an unsigned integer between 1 and MAX_UINT


Property Documentation

- (CCFiniteTimeAction*) innerAction [read, write, retain]

Inner action


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