![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionInstant.h>
Public Member Functions | |
(id) | - initWithTarget:selector: |
(void) | - execute |
Static Public Member Functions | |
(id) | + actionWithTarget:selector: |
Protected Attributes | |
id | _targetCallback |
SEL | _selector |
Properties | |
id | targetCallback |
Calls a 'callback'
+ (id) actionWithTarget: | (id) | t | |
selector: | (SEL) | s | |
creates the action with the callback
- (void) execute |
executes the callback
Implemented in CCCallFuncN.
- (id) initWithTarget: | (id) | t | |
selector: | (SEL) | s | |
initializes the action with the callback
- (id) targetCallback [read, write, retain] |
Target that will be called