ObjectAL
 All Classes Functions Variables Properties Pages
Instance Methods | Class Methods | Protected Attributes | Properties | List of all members
OALTargetedAction Class Reference

Ignores whatever target it was invoked upon and applies the specified action on the target specified at creation time. More...

#import <OALUtilityActions.h>

Inheritance diagram for OALTargetedAction:
OALAction

Instance Methods

(id) - initWithTarget:action:
 Initialize an action. More...
 
- Instance Methods inherited from OALAction
(id) - initWithDuration:
 Initialize an action. More...
 
(void) - runWithTarget:
 Run this action on a target. More...
 
(void) - prepareWithTarget:
 Called by runWithTraget to do any final preparations before running. More...
 
(void) - startAction
 Called by runWithTarget to start the action running. More...
 
(void) - updateCompletion:
 Called by OALActionManager to update this action's progress. More...
 
(void) - stopAction
 Stop this action. More...
 

Class Methods

(id) + actionWithTarget:action:
 Create an action. More...
 

Protected Attributes

OALActionaction_
 The action that will be run on the target. More...
 
- Protected Attributes inherited from OALAction
bool runningInManager_
 If TRUE, this action is running via OALActionManager. More...
 

Properties

id forcedTarget
 The target which this action will actually be invoked upon. More...
 
- Properties inherited from OALAction
id target
 The target to perform the action on. More...
 
float duration
 The duration of the action, in seconds. More...
 
float elapsed
 The amount of time that has elapsed for this action, in seconds. More...
 
bool running
 If true, the action is currently running. More...
 

Detailed Description

Ignores whatever target it was invoked upon and applies the specified action on the target specified at creation time.

Method Documentation

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

Create an action.

Parameters
targetThe target to run the action upon.
actionThe action to run.
Returns
A new action.
- (id) initWithTarget: (id)  target
action: (OALAction*)  action 

Initialize an action.

Parameters
targetThe target to run the action upon.
actionThe action to run.
Returns
The initialized action.

Member Data Documentation

- (OALAction*) action_
protected

The action that will be run on the target.

Property Documentation

- (id) forcedTarget
readwritenonatomicassign

The target which this action will actually be invoked upon.


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