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

List of all members.

Public Member Functions

(id) - initWithTarget:interval:repeat:delay:key:block:

Static Public Member Functions

(id) + timerWithTarget:interval:key:block:

Protected Attributes

void(^ _block )(ccTime delta)
NSString * _key
id _target

Properties

NSString * key
id target

Member Function Documentation

- (id) initWithTarget: (id)  owner
interval: (ccTime seconds
repeat: (uint)  r
delay: (ccTime d
key: (NSString *)  key
block: (ccTime delta)  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) timerWithTarget: (id)  owner
interval: (ccTime seconds
key: (NSString *)  key
block: (ccTime delta)  block 

Allocates a timer with a target, interval in seconds, a key and a block


Property Documentation

- (NSString*) key [read, assign]

unique identifier of the block

- (id) target [read, assign]

owner of the timer


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