Cocos2d-x  v3.11
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
Sequence Class Reference

Runs actions sequentially, one after another. More...

Inherits ActionInterval.

Public Member Functions

virtual Sequenceclone () const override
 override ActionInterval
 
virtual Sequencereverse () 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 *pActionOne, FiniteTimeAction *pActionTwo)
 initializes the action
 
var initWithTwoActions ( var pActionOne, var pActionTwo)
 initializes the action
 
local initWithTwoActions ( local pActionOne, local pActionTwo)
 initializes the action
 
- 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 sequenceable actions. More...
 
static Sequencecreate (const Vector< FiniteTimeAction * > &arrayOfActions)
 Helper constructor to create an array of sequenceable actions given an array. More...
 
var create ( var arrayOfActions)
 Helper constructor to create an array of sequenceable actions given an array. More...
 
local create ( local arrayOfActions)
 Helper constructor to create an array of sequenceable actions given an array. More...
 
static SequencecreateWithVariableList (FiniteTimeAction *action1, va_list args)
 Helper constructor to create an array of sequence-able actions. More...
 
local createWithVariableList ( local action1, local args)
 Helper constructor to create an array of sequence-able actions. More...
 
static SequencecreateWithTwoActions (FiniteTimeAction *actionOne, FiniteTimeAction *actionTwo)
 Creates the action with two actions. More...
 
local createWithTwoActions ( local actionOne, local actionTwo)
 Creates the action with two actions. More...
 

Detailed Description

Runs actions sequentially, one after another.

Member Typedef Documentation

typedef FiniteTimeAction* M

Helper constructor to create an array of sequenceable actions.

Constructor functions

An autoreleased Sequence object.

Member Function Documentation

static Sequence* create ( const Vector< FiniteTimeAction * > &  arrayOfActions)
static

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

An array of sequenceable actions. An autoreleased Sequence object.

var create ( var  arrayOfActions)
static

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

An array of sequenceable actions. An autoreleased Sequence object.

local create ( local  arrayOfActions)
static

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

An array of sequenceable actions. An autoreleased Sequence object.

static Sequence*
createWithVariableList
( FiniteTimeAction *  action1,
va_list  args 
)
static

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

The first sequenceable action. The variable list variable. An autoreleased Sequence object.

local createWithVariableList ( local  action1,
local  args 
)
static

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

The first sequenceable action. The variable list variable. An autoreleased Sequence object.

static Sequence*
createWithTwoActions
( FiniteTimeAction *  actionOne,
FiniteTimeAction *  actionTwo 
)
static

Creates the action with two actions.

The first sequenceable action. The second sequenceable action. An autoreleased Sequence object.

local createWithTwoActions ( local  actionOne,
local  actionTwo 
)
static

Creates the action with two actions.

The first sequenceable action. The second sequenceable action. An autoreleased Sequence object.


The documentation for this class was generated from the following file: