ReuseGrid action.
More...
|
static ReuseGrid * | create (int times) |
| Create an action with the number of times that the current grid will be reused. More...
|
|
|
bool | initWithTimes (int times) |
| Initializes an action with the number of times that the current grid will be reused. More...
|
|
|
unsigned int | _ID |
| object id, ScriptSupport need public _ID
|
|
int | _luaID |
| Lua reference id.
|
|
void * | _scriptObject |
| scriptObject, support for swift
|
|
bool | _rooted |
| When true, it means that the object was already rooted.
|
|
static const int | INVALID_TAG = -1 |
| Default tag used for all the actions. More...
|
|
◆ 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.
◆ startWithTarget()
virtual void startWithTarget |
( |
Node * |
target | ) |
|
|
overridevirtual |
Called before the action start.
It will also set the target.
- Parameters
-
Reimplemented from Action.
◆ clone()
Returns a clone of action.
- Returns
- A clone action.
Reimplemented from ActionInstant.
◆ reverse()
Returns a new action that performs the exact reverse of the action.
- Returns
- A new action that performs the exact reverse of the action. NA
Reimplemented from ActionInstant.
◆ initWithTimes()
bool initWithTimes |
( |
int |
times | ) |
|
|
protected |
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: