Spawn a group of actions. More...
Inherits ActionInterval.
Public Member Functions | |
virtual Spawn * | clone () const override |
override ActionInterval . | |
virtual Spawn * | reverse (void) const override |
override Action . | |
local | reverse () |
override Action . | |
Public Member Functions inherited from ActionInterval | |
float | getElapsed (void) |
How many seconds had elapsed since the actions started to run. More... | |
var | getElapsed () |
How many seconds had elapsed since the actions started to run. More... | |
local | getElapsed () |
How many seconds had elapsed since the actions started to run. More... | |
void | setAmplitudeRate (float amp) |
Sets the amplitude rate, extension in GridAction. More... | |
float | getAmplitudeRate (void) |
Gets the ampliture rate, extension in GridAction. More... | |
virtual bool | isDone (void) const override |
override Action . | |
local | isDone () |
override Action . | |
Protected Member Functions | |
bool | initWithTwoActions (FiniteTimeAction *action1, FiniteTimeAction *action2) |
initializes the Spawn action with the 2 actions to spawn The first spawned action. More... | |
var | initWithTwoActions ( var action1, var action2) |
initializes the Spawn action with the 2 actions to spawn The first spawned action. More... | |
local | initWithTwoActions ( local action1, local action2) |
initializes the Spawn action with the 2 actions to spawn The first spawned action. More... | |
Protected Member Functions inherited from ActionInterval | |
bool | initWithDuration (float d) |
initializes the action with the duration. More... | |
var | initWithDuration ( var d) |
initializes the action with the duration. More... | |
local | initWithDuration ( local d) |
initializes the action with the duration. More... | |
typedef FiniteTimeAction * | M |
Helper constructor to create an array of spawned actions. More... | |
static Spawn * | createWithVariableList (FiniteTimeAction *action1, va_list args) |
Helper constructor to create an array of spawned actions. More... | |
static Spawn * | create (const Vector< FiniteTimeAction * > &arrayOfActions) |
Helper constructor to create an array of spawned actions given an array. More... | |
static Spawn * | createWithTwoActions (FiniteTimeAction *action1, FiniteTimeAction *action2) |
Creates the Spawn action with two spawned actions. More... | |
local | createWithTwoActions ( local action1, local action2) |
Creates the Spawn action with two spawned actions. More... | |
Spawn a group of actions.
typedef FiniteTimeAction* M |
Helper constructor to create an array of spawned actions.
Constructor functions When this funtion bound to the js or lua, the input params changed. An autoreleased Spawn object.
var M |
Helper constructor to create an array of spawned actions.
Constructor functions When this funtion bound to the js or lua, the input params changed. An autoreleased Spawn object.
local M |
Helper constructor to create an array of spawned actions.
Constructor functions When this funtion bound to the js or lua, the input params changed. An autoreleased Spawn object.
|
static |
Helper constructor to create an array of spawned actions.
The first inner action. The va_list variable. An autoreleased Spawn object.
|
static |
Helper constructor to create an array of spawned actions.
The first inner action. The va_list variable. An autoreleased Spawn object.
|
static |
Helper constructor to create an array of spawned actions given an array.
An array of spawned actions. An autoreleased Spawn object.
|
static |
Helper constructor to create an array of spawned actions given an array.
An array of spawned actions. An autoreleased Spawn object.
|
static |
Helper constructor to create an array of spawned actions given an array.
An array of spawned actions. An autoreleased Spawn object.
|
static |
|
static |
|
protected |
initializes the Spawn action with the 2 actions to spawn The first spawned action.
THe second spawned action. Return true if initialized successfully, otherwise return false.
|
protected |
initializes the Spawn action with the 2 actions to spawn The first spawned action.
THe second spawned action. Return true if initialized successfully, otherwise return false.
|
protected |
initializes the Spawn action with the 2 actions to spawn The first spawned action.
THe second spawned action. Return true if initialized successfully, otherwise return false.