An action that moves the target with a cubic Bezier curve by a certain distance. More...
Inherits ActionInterval.
Inherited by BezierTo.
Public Member Functions | |
virtual BezierBy * | clone () const override |
override ActionInterval . | |
local | clone () |
override ActionInterval . | |
virtual BezierBy * | reverse (void) const override |
override ActionInterval . | |
local | reverse () |
override ActionInterval . | |
virtual void | startWithTarget (Node *target) override |
override ActionInterval . | |
local | startWithTarget ( local target) |
override ActionInterval . | |
virtual void | update (float time) override |
override ActionInterval . | |
var | update ( var time) |
override ActionInterval . | |
local | update ( local time) |
override ActionInterval . | |
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 BezierBy * | create (float t, const ccBezierConfig &c) |
Creates the action with a duration and a bezier configuration. More... | |
var | create ( var t, var c) |
Creates the action with a duration and a bezier configuration. More... | |
local | create ( local t, local c) |
Creates the action with a duration and a bezier configuration. More... | |
Protected Member Functions | |
bool | initWithDuration (float t, const ccBezierConfig &c) |
initializes the action with a duration and a bezier configuration Duration time, in seconds. More... | |
var | initWithDuration ( var t, var c) |
initializes the action with a duration and a bezier configuration Duration time, in seconds. More... | |
local | initWithDuration ( local t, local c) |
initializes the action with a duration and a bezier configuration Duration time, in seconds. 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... | |
An action that moves the target with a cubic Bezier curve by a certain distance.
|
static |
Creates the action with a duration and a bezier configuration.
Duration time, in seconds. Bezier config. An autoreleased BezierBy object.
|
static |
Creates the action with a duration and a bezier configuration.
Duration time, in seconds. Bezier config. An autoreleased BezierBy object.
|
static |
Creates the action with a duration and a bezier configuration.
Duration time, in seconds. Bezier config. An autoreleased BezierBy object.
|
protected |
initializes the action with a duration and a bezier configuration Duration time, in seconds.
Bezier config. Return true if successfully initialized, otherwise return false
|
protected |
initializes the action with a duration and a bezier configuration Duration time, in seconds.
Bezier config. Return true if successfully initialized, otherwise return false
|
protected |
initializes the action with a duration and a bezier configuration Duration time, in seconds.
Bezier config. Return true if successfully initialized, otherwise return false