Moves a Node object simulating a parabolic jump movement by modifying it's position attribute. More...
Inherits ActionInterval.
Inherited by JumpTo.
Public Member Functions | |
| virtual JumpBy * | clone () const override |
override ActionInterval. | |
| local | clone () |
override ActionInterval. | |
| virtual JumpBy * | reverse (void) 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. | |
Static Public Member Functions | |
| static JumpBy * | create (float duration, const Vec2 &position, float height, int jumps) |
| Creates the JumpBy action with duration, jumping distance, jumping height and number of jumps. 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... | |
Moves a Node object simulating a parabolic jump movement by modifying it's position attribute.
|
static |
|
static |