CCTimerBlock Class Reference
Inherits from | CCTimer : NSObject |
Declared in | CCScheduler.h |
Tasks
-
key
unique identifier of the block
property -
target
owner of the timer
property -
+ timerWithTarget:interval:key:block:
Allocates a timer with a target, interval in seconds, a key and a block
-
– initWithTarget:interval:repeat:delay:key:block:
Initializes a timer with a target(owner), interval in seconds, repeat in number of times to repeat, delay in seconds and a block
Properties
Instance Methods
initWithTarget:interval:repeat:delay:key:block:
Initializes a timer with a target(owner), interval in seconds, repeat in number of times to repeat, delay in seconds and a block
- (id)initWithTarget:(id)owner interval:(ccTime)seconds repeat:(uint)r delay:(ccTime)d key:(NSString *)key block:(void ( ^ ) ( ccTime delta ))block
Declared In
CCScheduler.h