2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ReuseGrid
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend ActionInstant
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- brief Initializes an action with the number of times that the current grid will be reused.<br>
|
|
|
|
-- param times Specify times the grid will be reused.<br>
|
2015-09-22 17:23:14 +08:00
|
|
|
-- return If the initialization success, return true; otherwise, return false.
|
2015-05-05 11:31:53 +08:00
|
|
|
-- @function [parent=#ReuseGrid] initWithTimes
|
|
|
|
-- @param self
|
|
|
|
-- @param #int times
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
-- brief Create an action with the number of times that the current grid will be reused.<br>
|
|
|
|
-- param times Specify times the grid will be reused.<br>
|
|
|
|
-- return Return a pointer of ReuseGrid. When the creation failed, return nil.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#ReuseGrid] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int times
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return ReuseGrid#ReuseGrid ret (return value: cc.ReuseGrid)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#ReuseGrid] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return ReuseGrid#ReuseGrid self (return value: cc.ReuseGrid)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#ReuseGrid] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return ReuseGrid#ReuseGrid ret (return value: cc.ReuseGrid)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#ReuseGrid] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return ReuseGrid#ReuseGrid ret (return value: cc.ReuseGrid)
|
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#ReuseGrid] ReuseGrid
|
|
|
|
-- @param self
|
|
|
|
-- @return ReuseGrid#ReuseGrid self (return value: cc.ReuseGrid)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|