Blinks a Node object by modifying it's visible attribute.
More...
#include <ActionInterval.h>
Inherits ActionInterval.
|
virtual void | update (float time) override |
|
bool | initWithDuration (float duration, int blinks) |
| initializes the action
|
|
float | getElapsed () |
| How many seconds had elapsed since the actions started to run.
|
|
void | setAmplitudeRate (float amp) |
| Sets the amplitude rate, extension in GridAction.
|
|
float | getAmplitudeRate () |
| Gets the amplitude rate, extension in GridAction.
|
|
virtual void | step (float dt) override |
|
bool | initWithDuration (float d) |
| initializes the action
|
|
|
static Blink * | create (float duration, int blinks) |
| Creates the action.
|
|
Blinks a Node object by modifying it's visible attribute.
◆ create()
static Blink * create |
( |
float | duration, |
|
|
int | blinks ) |
|
static |
Creates the action.
- Parameters
-
duration | Duration time, in seconds. |
blinks | Blink times. |
- Returns
- An autoreleased Blink object.
◆ update()
virtual void update |
( |
float | time | ) |
|
|
overridevirtual |
◆ initWithDuration()
bool initWithDuration |
( |
float | duration, |
|
|
int | blinks ) |
initializes the action
- Parameters
-
The documentation for this class was generated from the following file: