TargetedAction Class Reference
| Inherits from | CCActionInterval : CCFiniteTimeAction : CCAction : NSObject |
| Conforms to | NSCopying |
| Declared in | TargetedAction.h |
Overview
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.
Tasks
-
forcedTargetThis is the target that the action will be forced to run with
property -
+ actionWithTarget:action:Create an action with the specified action and forced target
-
– initWithTarget:action:Init an action with the specified action and forced target