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

Properties

forcedTarget

This is the target that the action will be forced to run with

@property (readwrite, retain) id forcedTarget

Declared In

TargetedAction.h

Class Methods

actionWithTarget:action:

Create an action with the specified action and forced target

+ (id)actionWithTarget:(id)target action:(CCFiniteTimeAction *)action

Declared In

TargetedAction.h

Instance Methods

initWithTarget:action:

Init an action with the specified action and forced target

- (id)initWithTarget:(id)target action:(CCFiniteTimeAction *)action

Declared In

TargetedAction.h