An action that moves the target with a cubic Bezier curve to a destination point. More...
Inherits BezierBy.
Public Member Functions | |
virtual void | startWithTarget (Node *target) override |
override BezierBy . | |
var | startWithTarget ( var target) |
override BezierBy . | |
local | startWithTarget ( local target) |
override BezierBy . | |
virtual BezierTo * | clone () const override |
override BezierBy . | |
local | clone () |
override BezierBy . | |
virtual BezierTo * | reverse (void) const override |
override BezierBy . | |
var | reverse () |
override BezierBy . | |
local | reverse () |
override BezierBy . | |
Public Member Functions inherited from BezierBy | |
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 BezierTo * | 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... | |
Static Public Member Functions inherited from BezierBy | |
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 BezierBy | |
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 to a destination point.
|
static |
Creates the action with a duration and a bezier configuration.
Duration time, in seconds. Bezier config. An autoreleased BezierTo object.
|
static |
Creates the action with a duration and a bezier configuration.
Duration time, in seconds. Bezier config. An autoreleased BezierTo object.
|
static |
Creates the action with a duration and a bezier configuration.
Duration time, in seconds. Bezier config. An autoreleased BezierTo 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