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

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

#include <ActionInstant.h>

Inherits ActionInstant.

Public Member Functions

virtual void update (float time) override
 
bool initWithPosition (const Vec2 &pos)
 Initializes a Place action with a position.
 
- Public Member Functions inherited from ActionInstant
virtual void step (float dt) 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()

static Place * create ( const Vec2 & pos)
static

Creates a Place action with a position.

Parameters
posA certain position.
Returns
An autoreleased Place 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: