Flips the sprite horizontally.
More...
#include <ActionInstant.h>
Inherits ActionInstant.
|
virtual void | update (float time) override |
|
bool | initWithFlipX (bool x) |
| init the action
|
|
virtual void | step (float dt) override |
|
Flips the sprite horizontally.
- Since
- v0.99.0
◆ create()
static FlipX * create |
( |
bool | x | ) |
|
|
static |
Create the action.
- Parameters
-
x | Flips the sprite horizontally if true. |
- Returns
- An autoreleased FlipX object.
◆ update()
virtual void update |
( |
float | time | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: