SplitCols action.
More...
Inherits TiledGrid3DAction.
SplitCols action.
Split the target node in many columns. Then move out some columns from top, move out the other columns from bottom.
static SplitCols* create |
( |
float |
duration, |
|
|
unsigned int |
cols |
|
) |
| |
|
static |
Create the action with the number of columns and the duration.
Specify the duration of the SplitCols action. It's a value in seconds. Specify the columns count should be splited. If the creation success, return a pointer of SplitCols action; otherwise, return nil.
var create |
( |
var |
duration, |
|
|
var |
cols |
|
) |
| |
|
static |
Create the action with the number of columns and the duration.
Specify the duration of the SplitCols action. It's a value in seconds. Specify the columns count should be splited. If the creation success, return a pointer of SplitCols action; otherwise, return nil.
local create |
( |
local |
duration, |
|
|
local |
cols |
|
) |
| |
|
static |
Create the action with the number of columns and the duration.
Specify the duration of the SplitCols action. It's a value in seconds. Specify the columns count should be splited. If the creation success, return a pointer of SplitCols action; otherwise, return nil.
virtual void update |
( |
float |
time | ) |
|
|
overridevirtual |
local update |
( |
local |
time | ) |
|
|
overridevirtual |
bool initWithDuration |
( |
float |
duration, |
|
|
unsigned int |
cols |
|
) |
| |
|
protected |
Initializes the action with the number columns and the duration.
Specify the duration of the SplitCols action. It's a value in seconds. Specify the columns count should be splited. If the creation success, return true; otherwise, return false.
var initWithDuration |
( |
var |
duration, |
|
|
var |
cols |
|
) |
| |
|
protected |
Initializes the action with the number columns and the duration.
Specify the duration of the SplitCols action. It's a value in seconds. Specify the columns count should be splited. If the creation success, return true; otherwise, return false.
local initWithDuration |
( |
local |
duration, |
|
|
local |
cols |
|
) |
| |
|
protected |
Initializes the action with the number columns and the duration.
Specify the duration of the SplitCols action. It's a value in seconds. Specify the columns count should be splited. If the creation success, return true; otherwise, return false.
The documentation for this class was generated from the following file: