Class cc.TiledGrid3DAction

Class Summary
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

  • <static> {cc.TiledGrid3DAction} cc.TiledGrid3DAction.create(duration, gridSize)
    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
    Parameters:
    {cc.Point} position
    {cc.Quad3} coords
  • {cc.Quad3} tile(position)
    returns the tile that belongs to a certain position of the grid
    Parameters:
    {cc.Point} position
    Returns:
    {cc.Quad3}