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

ReuseGrid action. More...

#include <ActionGrid.h>

Inherits ActionInstant.

Public Member Functions

bool initWithTimes (int times)
 Initializes an action with the number of times that the current grid will be reused.
 
- Public Member Functions inherited from ActionInstant
virtual void step (float dt) override
 
virtual void update (float time) override
 

Static Public Member Functions

static ReuseGridcreate (int times)
 Create an action with the number of times that the current grid will be reused.
 

Detailed Description

ReuseGrid action.

Member Function Documentation

◆ create()

static ReuseGrid * create ( int times)
static

Create an action with the number of times that the current grid will be reused.

Parameters
timesSpecify times the grid will be reused.
Returns
Return a pointer of ReuseGrid. When the creation failed, return nil.

◆ initWithTimes()

bool initWithTimes ( int times)

Initializes an action with the number of times that the current grid will be reused.

Parameters
timesSpecify times the grid will be reused.
Returns
If the initialization success, return true; otherwise, return false.

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