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

#import <CCScheduler.h>

+ Inheritance diagram for CCTimer:

List of all members.

Public Member Functions

(void) - update:

Protected Attributes

ccTime _interval
ccTime _elapsed
BOOL _runForever
BOOL _useDelay
uint _nTimesExecuted
uint _repeat
ccTime _delay


ccTime interval

Detailed Description

Light weight timer

Member Function Documentation

- (void) update: (ccTime dt

triggers the timer

Property Documentation

- (ccTime) interval [read, write, assign]

interval in seconds

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