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

Delays the action a certain amount of seconds. More...

Inherits ActionInterval.

Public Member Functions

virtual void update (float time) override
 override ActionInterval.
 
local update ( local time)
 override ActionInterval.
 
virtual DelayTimereverse () const override
 override Action.
 
local reverse ()
 override Action.
 
virtual DelayTimeclone () const override
 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.
 

Static Public Member Functions

static DelayTimecreate (float d)
 Creates the action with delayed duration. More...
 
local create ( local d)
 Creates the action with delayed duration. More...
 

Additional Inherited Members

- 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...
 

Detailed Description

Delays the action a certain amount of seconds.

Member Function Documentation

static DelayTime* create ( float  d)
static

Creates the action with delayed duration.

Duration time, in seconds. An autoreleased DelayTime object.

var create ( var  d)
static

Creates the action with delayed duration.

Duration time, in seconds. An autoreleased DelayTime object.

local create ( local  d)
static

Creates the action with delayed duration.

Duration time, in seconds. An autoreleased DelayTime object.


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