ReuseGrid action.
More...
#include <ActionGrid.h>
Inherits ActionInstant.
|
| bool | initWithTimes (int times) |
| | Initializes an action with the number of times that the current grid will be reused.
|
| void | step (float dt) override |
| void | update (float time) override |
|
| static ReuseGrid * | create (int times) |
| | Create an action with the number of times that the current grid will be reused.
|
◆ create()
| ReuseGrid * create |
( |
int | times | ) |
|
|
static |
Create an action with the number of times that the current grid will be reused.
- Parameters
-
| times | Specify 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
-
| times | Specify 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: