Inherits from CCActionInterval : CCActionFiniteTime : CCAction : NSObject
Conforms to NSCopying
Declared in CCActionInterval.h

Overview

This action allows actions to be executed sequentially e.g. one after another.

Class Methods

actionOne:two:

Creates an action sequence from two actions.

+ (id)actionOne:(CCActionFiniteTime *)actionOne two:(CCActionFiniteTime *)actionTwo

Parameters

actionOne

Action one.

actionTwo

Action two.

Return Value

New action sequence.

Declared In

CCActionInterval.h

actionWithArray:

Helper constructor to create an array of sequence-able actions given an array.

+ (id)actionWithArray:(NSArray *)arrayOfActions

Parameters

arrayOfActions

Array of actions to sequence.

Return Value

New action sequence.

Declared In

CCActionInterval.h

actions:

Helper constructor to create an array of sequence-able actions.

+ (id)actions:(CCActionFiniteTime *)action1, ...

Parameters

action1

First action to add to sequence.

...

Nil terminated list of actions to sequence.

Return Value

A New action sequence.

Declared In

CCActionInterval.h

actions:vaList:

Helper constructor to create an array of sequence-able actions.

+ (id)actions:(CCActionFiniteTime *)action1 vaList:(va_list)args

Parameters

action1

Action to sequence.

args

C++ style list of actions.

Return Value

New action sequence.

Declared In

CCActionInterval.h

Instance Methods

initOne:two:

Initializes an action sequence with two actions.

- (id)initOne:(CCActionFiniteTime *)actionOne two:(CCActionFiniteTime *)actionTwo

Parameters

actionOne

Action one.

actionTwo

Action two.

Return Value

New action sequence.

Declared In

CCActionInterval.h