Class cc.ReuseGrid
- Defined in: CCActionGrid.js
- Extends cc.ActionInstant
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
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