![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionInterval.h>
Public Member Functions | |
(id) | - initWithTarget:action: |
Static Public Member Functions | |
(id) | + actionWithTarget:action: |
Protected Attributes | |
id | _forcedTarget |
CCFiniteTimeAction * | _action |
Properties | |
id | forcedTarget |
Overrides the target of an action so that it always runs on the target specified at action creation rather than the one specified by runAction.
+ (id) actionWithTarget: | (id) | target | |
action: | (CCFiniteTimeAction *) | action | |
Create an action with the specified action and forced target
- (id) initWithTarget: | (id) | target | |
action: | (CCFiniteTimeAction *) | action | |
Init an action with the specified action and forced target
- (id) forcedTarget [read, write, retain] |
This is the target that the action will be forced to run with