CCTimer Class Reference

#import <CCScheduler.h>

List of all members.

Public Member Functions

(id) - initWithTarget:selector:
(id) - initWithTarget:selector:interval:
(void) - fire:

Static Public Member Functions

(id) + timerWithTarget:selector:
(id) + timerWithTarget:selector:interval:

Properties

ccTime interval

Detailed Description

Light weight timer

Definition at line 27 of file CCScheduler.h.


Member Function Documentation

- (void) fire: (ccTime dt  

triggers the timer

- (id) initWithTarget: (id)  t
selector: (SEL)  s 

Initializes a timer with a target and a selector.

- (id) initWithTarget: (id)  t
selector: (SEL)  s
interval: (ccTime seconds 

Initializes a timer with a target, a selector and an interval in seconds.

+ (id) timerWithTarget: (id)  t
selector: (SEL)  s 

Allocates a timer with a target and a selector.

+ (id) timerWithTarget: (id)  t
selector: (SEL)  s
interval: (ccTime seconds 

Allocates a timer with a target, a selector and an interval in seconds.


Property Documentation

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

interval in seconds

Definition at line 33 of file CCScheduler.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Properties Defines

cocos2d for iPhone 0.99.2 API Reference - Generated using Doxygen 1.6.3