⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.

Axmol Engine 3.0.0-ff0e11a
Loading...
Searching...
No Matches
FlipX Class Reference

Flips the sprite horizontally. More...

#include <ActionInstant.h>

Inherits ActionInstant.

Public Member Functions

void update (float time) override
bool initWithFlipX (bool x)
 init the action
Public Member Functions inherited from ActionInstant
void step (float dt) override
void update (float time) 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()

FlipX * create ( bool x)
static

Create the action.

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

◆ update()

void update ( float time)
override
Parameters
timeIn seconds.

The documentation for this class was generated from the following file:
  • ActionInstant.h