![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
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 |
Properties | |
SEL | selector |
- (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.
- (SEL) selector [read, assign] |
selector