Class cc.GridAction

Class Summary
Constructor Attributes Constructor Name and Description
 
Base class for Grid actions

Method Summary

Class Detail

cc.GridAction()
Base class for Grid actions

Method Detail

  • <static> {cc.GridAction} cc.GridAction.create(duration, gridSize)
    creates the action with size and duration
    Parameters:
    {Number} duration
    {cc.Size} gridSize
    Returns:
    {cc.GridAction}
  • {cc.GridBase} getGrid()
    returns the grid
    Returns:
    {cc.GridBase}
  • {Boolean} initWithDuration(duration, gridSize)
    initializes the action with size and duration
    Parameters:
    {Number} duration
    {cc.Size} gridSize
    Returns:
    {Boolean}