Base class for Grid actions. More...
Inherits ActionInterval.
Inherited by Grid3DAction, and TiledGrid3DAction.
Public Member Functions | |
virtual GridBase * | getGrid () |
Get the pointer of GridBase. More... | |
var | getGrid () |
Get the pointer of GridBase. More... | |
local | getGrid () |
Get the pointer of GridBase. More... | |
virtual GridAction * | clone () const override |
override Action . | |
var | clone () |
override Action . | |
local | clone () |
override Action . | |
virtual GridAction * | reverse () const override |
override Action . | |
Public Member Functions inherited from ActionInterval | |
float | getElapsed (void) |
How many seconds had elapsed since the actions started to run. More... | |
var | getElapsed () |
How many seconds had elapsed since the actions started to run. More... | |
local | getElapsed () |
How many seconds had elapsed since the actions started to run. More... | |
void | setAmplitudeRate (float amp) |
Sets the amplitude rate, extension in GridAction. More... | |
float | getAmplitudeRate (void) |
Gets the ampliture rate, extension in GridAction. More... | |
virtual bool | isDone (void) const override |
override Action . | |
local | isDone () |
override Action . | |
Protected Member Functions | |
bool | initWithDuration (float duration, const Size &gridSize) |
Initializes the action with size and duration. More... | |
var | initWithDuration ( var duration, var gridSize) |
Initializes the action with size and duration. More... | |
local | initWithDuration ( local duration, local gridSize) |
Initializes the action with size and duration. More... | |
Protected Member Functions inherited from ActionInterval | |
bool | initWithDuration (float d) |
initializes the action with the duration. More... | |
var | initWithDuration ( var d) |
initializes the action with the duration. More... | |
local | initWithDuration ( local d) |
initializes the action with the duration. More... | |
Base class for Grid actions.
Grid actions are the actions take effect on GridBase.
|
virtual |
Get the pointer of GridBase.
The pointer of GridBase.
Reimplemented in TiledGrid3DAction, Grid3DAction, and PageTurn3D.
|
virtual |
Get the pointer of GridBase.
The pointer of GridBase.
Reimplemented in TiledGrid3DAction, Grid3DAction, and PageTurn3D.
|
virtual |
Get the pointer of GridBase.
The pointer of GridBase.
Reimplemented in TiledGrid3DAction, Grid3DAction, and PageTurn3D.
|
protected |
Initializes the action with size and duration.
The duration of the GridAction. It's a value in seconds. The size of the GridAction should be. Return true when the initialization success, otherwise return false.
|
protected |
Initializes the action with size and duration.
The duration of the GridAction. It's a value in seconds. The size of the GridAction should be. Return true when the initialization success, otherwise return false.
|
protected |
Initializes the action with size and duration.
The duration of the GridAction. It's a value in seconds. The size of the GridAction should be. Return true when the initialization success, otherwise return false.