#import <CCScheduler.h>
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 |
Light weight timer
Definition at line 27 of file CCScheduler.h.
| - (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.
- (ccTime) interval [read, write, assign] |
interval in seconds
Definition at line 33 of file CCScheduler.h.