Progress from a percentage to another percentage. More...
Inherits ActionInterval.
Public Member Functions | |
| virtual ProgressFromTo * | clone () const override |
override Action. | |
| local | clone () |
override Action. | |
| virtual ProgressFromTo * | 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 ProgressFromTo * | create (float duration, float fromPercentage, float toPercentage) |
| Create and initializes the action with a duration, a "from" percentage and a "to" percentage. More... | |
| local | create ( local duration, local fromPercentage, local toPercentage) |
| Create and initializes the action with a duration, a "from" percentage and a "to" percentage. More... | |
Protected Member Functions | |
| bool | initWithDuration (float duration, float fromPercentage, float toPercentage) |
| Initializes the action with a duration, a "from" percentage and a "to" percentage. More... | |
| var | initWithDuration ( var duration, var fromPercentage, var toPercentage) |
| Initializes the action with a duration, a "from" percentage and a "to" percentage. More... | |
| local | initWithDuration ( local duration, local fromPercentage, local toPercentage) |
| Initializes the action with a duration, a "from" percentage and a "to" percentage. 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... | |
Progress from a percentage to another percentage.
|
static |
Create and initializes the action with a duration, a "from" percentage and a "to" percentage.
Specify the duration of the ProgressFromTo action. It's a value in seconds. Specify the source percentage. Specify the destination percentage. If the creation sucess, return a pointer of ProgressFromTo action; otherwise, return nil.
|
static |
Create and initializes the action with a duration, a "from" percentage and a "to" percentage.
Specify the duration of the ProgressFromTo action. It's a value in seconds. Specify the source percentage. Specify the destination percentage. If the creation sucess, return a pointer of ProgressFromTo action; otherwise, return nil.
|
static |
Create and initializes the action with a duration, a "from" percentage and a "to" percentage.
Specify the duration of the ProgressFromTo action. It's a value in seconds. Specify the source percentage. Specify the destination percentage. If the creation sucess, return a pointer of ProgressFromTo action; otherwise, return nil.
|
protected |
Initializes the action with a duration, a "from" percentage and a "to" percentage.
Specify the duration of the ProgressFromTo action. It's a value in seconds. Specify the source percentage. Specify the destination percentage. If the creation sucess, return true; otherwise, return false.
|
protected |
Initializes the action with a duration, a "from" percentage and a "to" percentage.
Specify the duration of the ProgressFromTo action. It's a value in seconds. Specify the source percentage. Specify the destination percentage. If the creation sucess, return true; otherwise, return false.
|
protected |
Initializes the action with a duration, a "from" percentage and a "to" percentage.
Specify the duration of the ProgressFromTo action. It's a value in seconds. Specify the source percentage. Specify the destination percentage. If the creation sucess, return true; otherwise, return false.