Axmol Engine 2.4.0-258ceca
Loading...
Searching...
No Matches
FlipX Class Reference

Flips the sprite horizontally. More...

#include <ActionInstant.h>

Inherits ActionInstant.

Public Member Functions

virtual void update (float time) override
 
bool initWithFlipX (bool x)
 init the action
 
- Public Member Functions inherited from ActionInstant
virtual void step (float dt) override
 

Static Public Member Functions

static FlipXcreate (bool x)
 Create the action.
 

Detailed Description

Flips the sprite horizontally.

Since
v0.99.0

Member Function Documentation

◆ create()

static FlipX * create ( bool x)
static

Create the action.

Parameters
xFlips the sprite horizontally if true.
Returns
An autoreleased FlipX object.

◆ update()

virtual void update ( float time)
overridevirtual
Parameters
timeIn seconds.

Reimplemented from ActionInstant.


The documentation for this class was generated from the following file: