DeccelAmplitude action. More...
Inherits ActionInterval.
Public Member Functions | |
| float | getRate () const |
| Get the value of amplitude rate. More... | |
| void | setRate (float rate) |
| Set the value of amplitude rate. More... | |
| local | setRate ( local rate) |
| Set the value of amplitude rate. More... | |
| virtual DeccelAmplitude * | clone () const override |
override Action. | |
| local | clone () |
override Action. | |
| virtual DeccelAmplitude * | reverse () 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. | |
Static Public Member Functions | |
| static DeccelAmplitude * | create (Action *action, float duration) |
| Creates the action with an inner action that has the amplitude property, and a duration time. More... | |
| local | create ( local action, local duration) |
| Creates the action with an inner action that has the amplitude property, and a duration time. More... | |
Protected Member Functions | |
| bool | initWithAction (Action *action, float duration) |
| Initializes the action with an inner action that has the amplitude property, and a duration time. 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... | |
DeccelAmplitude action.
|
static |
Creates the action with an inner action that has the amplitude property, and a duration time.
A pointer of the inner action. Specify the duration of the DeccelAmplitude action. Return a pointer of DeccelAmplitude. When the creation failed, return nil.
|
static |
Creates the action with an inner action that has the amplitude property, and a duration time.
A pointer of the inner action. Specify the duration of the DeccelAmplitude action. Return a pointer of DeccelAmplitude. When the creation failed, return nil.
|
inline |
Get the value of amplitude rate.
The value of amplitude rate.
|
inline |
Get the value of amplitude rate.
The value of amplitude rate.
|
inline |
Set the value of amplitude rate.
Specify the value.
|
inline |
Set the value of amplitude rate.
Specify the value.
|
protected |
Initializes the action with an inner action that has the amplitude property, and a duration time.
The pointer of inner action. The duration of the DeccelAmplitude action. If the initilization sucess, return true; otherwise, return false.
|
protected |
Initializes the action with an inner action that has the amplitude property, and a duration time.
The pointer of inner action. The duration of the DeccelAmplitude action. If the initilization sucess, return true; otherwise, return false.