2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module GridAction
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend ActionInterval
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
-- brief Get the pointer of GridBase.<br>
|
|
|
|
-- return The pointer of GridBase.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#GridAction] getGrid
|
|
|
|
-- @param self
|
|
|
|
-- @return GridBase#GridBase ret (return value: cc.GridBase)
|
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- brief Initializes the action with size and duration.<br>
|
|
|
|
-- param duration The duration of the GridAction. It's a value in seconds.<br>
|
|
|
|
-- param gridSize The size of the GridAction should be.<br>
|
|
|
|
-- return Return true when the initialization success, otherwise return false.
|
|
|
|
-- @function [parent=#GridAction] initWithDuration
|
|
|
|
-- @param self
|
|
|
|
-- @param #float duration
|
|
|
|
-- @param #size_table gridSize
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
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=#GridAction] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return GridAction#GridAction self (return value: cc.GridAction)
|
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=#GridAction] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return GridAction#GridAction ret (return value: cc.GridAction)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#GridAction] reverse
|
|
|
|
-- @param self
|
|
|
|
-- @return GridAction#GridAction ret (return value: cc.GridAction)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|