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

Axmol Engine 3.0.0-dff292a
Loading...
Searching...
No Matches
Place Class Reference

Places the node in a certain position. More...

#include <ActionInstant.h>

Inherits ActionInstant.

Public Member Functions

void update (float time) override
bool initWithPosition (const Vec2 &pos)
 Initializes a Place action with a position.
Public Member Functions inherited from ActionInstant
void step (float dt) override
void update (float time) override

Static Public Member Functions

static Placecreate (const Vec2 &pos)
 Creates a Place action with a position.

Detailed Description

Places the node in a certain position.

Member Function Documentation

◆ create()

Place * create ( const Vec2 & pos)
static

Creates a Place action with a position.

Parameters
posA certain position.
Returns
An autoreleased Place object.

◆ update()

void update ( float time)
override
Parameters
timeIn seconds.

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