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.
|
|
virtual void | step (float dt) override |
|
virtual 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()
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: