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

Overview

This action can be used to execute two to actions in parallel.

Class Methods

actionOne:two:

Creates the Spawn action from two actions

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

Parameters

one

Action one.

two

Action two.

Return Value

New action spawn.

Declared In

CCActionInterval.h

actionWithArray:

Helper constructor to create an array of spawned actions given an array.

+ (id)actionWithArray:(NSArray *)arrayOfActions

Parameters

arrayOfActions

Array of actions to spawn.

Return Value

New action spawn.

Declared In

CCActionInterval.h

actions:

Helper constructor to create an array of spawned actions.

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

Parameters

action1

First action to spawn.

...

Nil terminated list of action to spawn.

Return Value

New action spawn.

Declared In

CCActionInterval.h

actions:vaList:

Helper constructor to create an array of spawned actions.

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

Parameters

action1

Action to spawn.

args

C++ style list of actions.

Return Value

New action spawn.

Declared In

CCActionInterval.h

Instance Methods

initOne:two:

Initializes the Spawn action with the 2 actions to spawn.

- (id)initOne:(CCActionFiniteTime *)one two:(CCActionFiniteTime *)two

Parameters

one

Action one.

two

Action two.

Return Value

New action spawn.

Declared In

CCActionInterval.h