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