Class cc.ReuseGrid

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.ReuseGrid(times)
cc.ReuseGrid action

Method Summary

Class Detail

cc.ReuseGrid(times)
cc.ReuseGrid action
Parameters:
{Number} times

Field Detail

<static> {cc.ReuseGrid} cc.ReuseGrid.create
Please use cc.reuseGrid instead creates an action with the number of times that the current grid will be reused
Deprecated:
since v3.0
Please use cc.reuseGrid instead.

Method Detail

  • ctor(times)
    Constructor function, override it to extend the construction behavior, remember to call "this._super()" in the extended "ctor" function.
    Parameters:
    {Number} times
  • {Boolean} initWithTimes(times)
    initializes an action with the number of times that the current grid will be reused
    Parameters:
    {Number} times
    Returns:
    {Boolean}
  • startWithTarget(target)
    called before the action start. It will also set the target.
    Parameters:
    {cc.Node} target