A set of actions that get run in sequence. More...
#import <OALUtilityActions.h>
Instance Methods | |
| (id) | - initWithActions: |
| 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) | + actions: |
| Create an action. More... | |
| (id) | + actionsFromArray: |
| Create an action. More... | |
Protected Attributes | |
| NSUInteger | actionIndex_ |
| The index of the action currently being processed. More... | |
| float | pLastComplete_ |
| The last completeness proportion value acted upon. More... | |
| float | pCurrentActionDuration_ |
| The proportional duration of the current action. More... | |
| float | pCurrentActionComplete_ |
| The proportional completeness of the current action. More... | |
Protected Attributes inherited from OALAction | |
| bool | runningInManager_ |
| If TRUE, this action is running via OALActionManager. More... | |
Properties | |
| NSMutableArray * | actions |
| The actions which will be run. 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... | |
A set of actions that get run in sequence.
| + (id) actions: | (OALAction*) | actions | |
| , | NS_REQUIRES_NIL_TERMINATION | ||
Create an action.
| actions | The comma separated list of actions. |
| NS_REQUIRES_NIL_TERMINATION | List of actions must be terminated by a nil. |
| + (id) actionsFromArray: | (NSArray*) | actions |
Create an action.
| actions | The actions to run. |
| - (id) initWithActions: | (NSArray*) | actions |
Initialize an action.
| actions | The actions to run. |
|
protected |
The index of the action currently being processed.
|
protected |
The proportional completeness of the current action.
|
protected |
The proportional duration of the current action.
|
protected |
The last completeness proportion value acted upon.
|
readwritenonatomicretain |
The actions which will be run.
1.8.3.1