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

Base class for Easing actions. More...

Inherits ActionInterval.

Inherited by EaseBackIn, EaseBackInOut, EaseBackOut, EaseBezierAction, EaseBounce, EaseCircleActionIn, EaseCircleActionInOut, EaseCircleActionOut, EaseCubicActionIn, EaseCubicActionInOut, EaseCubicActionOut, EaseElastic, EaseExponentialIn, EaseExponentialInOut, EaseExponentialOut, EaseQuadraticActionIn, EaseQuadraticActionInOut, EaseQuadraticActionOut, EaseQuarticActionIn, EaseQuarticActionInOut, EaseQuarticActionOut, EaseQuinticActionIn, EaseQuinticActionInOut, EaseQuinticActionOut, EaseRateAction, EaseSineIn, EaseSineInOut, and EaseSineOut.

Public Member Functions

virtual ActionIntervalgetInnerAction ()
 Get the pointer of the inner action. More...
 
virtual ActionEaseclone () const override
 override Action.
 
virtual ActionEasereverse () const override
 override Action.
 
var reverse ()
 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 initWithAction (ActionInterval *action)
 Initializes the action with the inner action. More...
 
var initWithAction ( var action)
 Initializes the action with the inner action. More...
 
local initWithAction ( local action)
 Initializes the action with the inner 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...
 

Detailed Description

Base class for Easing actions.

Ease actions are created from other interval actions. The ease action will change the timeline of the inner action.

Member Function Documentation

virtual ActionInterval*
getInnerAction
( )
virtual

Get the pointer of the inner action.

The pointer of the inner action.

var getInnerAction ( )
virtual

Get the pointer of the inner action.

The pointer of the inner action.

local getInnerAction ( )
virtual

Get the pointer of the inner action.

The pointer of the inner action.

bool initWithAction ( ActionInterval action)
protected

Initializes the action with the inner action.

The pointer of the inner action. Return true when the initialization success, otherwise return false.

var initWithAction ( var  action)
protected

Initializes the action with the inner action.

The pointer of the inner action. Return true when the initialization success, otherwise return false.

local initWithAction ( local  action)
protected

Initializes the action with the inner action.

The pointer of the inner action. Return true when the initialization success, otherwise return false.


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