Class cc.TiledGrid3DAction
- Defined in: CCActionGrid.js
- Extends cc.GridAction
Constructor Attributes | Constructor Name and Description |
---|---|
Base class for cc.TiledGrid3D actions
|
Method Summary
Class Detail
cc.TiledGrid3DAction()
Base class for cc.TiledGrid3D actions
Method Detail
-
creates the action with size and duration
- Parameters:
- {Number} duration
- {cc.Size} gridSize
- Returns:
- {cc.TiledGrid3DAction}
-
{cc.GridBase} getGrid()returns the grid
- Returns:
- {cc.GridBase}
-
{cc.Quad3} originalTile(position)returns the non-transformed tile that belongs to a certain position of the grid
- Parameters:
- {cc.Point} position
- Returns:
- {cc.Quad3}
-
setTile(position, coords)sets a new tile to a certain position of the grid
-
{cc.Quad3} tile(position)returns the tile that belongs to a certain position of the grid
- Parameters:
- {cc.Point} position
- Returns:
- {cc.Quad3}