Ignores whatever target it was invoked upon and applies the specified action on the target specified at creation time. More...
#import <OALUtilityActions.h>
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 | |
OALAction * | action_ |
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... | |
Ignores whatever target it was invoked upon and applies the specified action on the target specified at creation time.
+ (id) actionWithTarget: | (id) | target | |
action: | (OALAction*) | action | |
Create an action.
target | The target to run the action upon. |
action | The action to run. |
- (id) initWithTarget: | (id) | target | |
action: | (OALAction*) | action | |
Initialize an action.
target | The target to run the action upon. |
action | The action to run. |
|
protected |
The action that will be run on the target.
|
readwritenonatomicassign |
The target which this action will actually be invoked upon.