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

StopGrid action. More...

#include <ActionGrid.h>

Inherits ActionInstant.

Static Public Member Functions

static StopGridcreate ()
 Create a StopGrid Action.
 

Additional Inherited Members

- Public Member Functions inherited from ActionInstant
virtual void step (float dt) override
 
virtual void update (float time) override
 

Detailed Description

StopGrid action.

Warning
Don't call this action if another grid action is active. Call if you want to remove the grid effect. Example:
static Lens3D * create(float duration, const Vec2 &gridSize, const Vec2 &position, float radius)
Create the action with center position, radius, a grid size and duration.
static Sequence * create(FiniteTimeAction *action1,...) AX_REQUIRES_NULL_TERMINATION
Helper constructor to create an array of sequenceable actions.
static StopGrid * create()
Create a StopGrid Action.

Member Function Documentation

◆ create()

static StopGrid * create ( )
static

Create a StopGrid Action.

Returns
Return a pointer of StopGrid. When the creation failed, return nil.

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