cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCTimerTargetSelector Class Reference
+ Inheritance diagram for CCTimerTargetSelector:
+ Collaboration diagram for CCTimerTargetSelector:

List of all members.

Public Member Functions

(id) - initWithTarget:selector:
(id) - initWithTarget:selector:interval:repeat:delay:

Static Public Member Functions

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

Protected Attributes

id _target
SEL _selector
TICK_IMP _impMethod


SEL selector

Member Function Documentation

- (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
repeat: (uint)  r
delay: (ccTime d 

Initializes a timer with a target, a selector, an interval in seconds, repeat in number of times to repeat, delay 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

- (SEL) selector [read, assign]


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