2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module TurnOffTiles
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend TiledGrid3DAction
|
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 Show the tile at specified position.<br>
|
|
|
|
-- param pos The position index of the tile should be shown.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TurnOffTiles] turnOnTile
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #vec2_table pos
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TurnOffTiles#TurnOffTiles self (return value: cc.TurnOffTiles)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
-- brief Hide the tile at specified position.<br>
|
|
|
|
-- param pos The position index of the tile should be hide.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TurnOffTiles] turnOffTile
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #vec2_table pos
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TurnOffTiles#TurnOffTiles self (return value: cc.TurnOffTiles)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
-- brief Initializes the action with grid size, random seed and duration.<br>
|
|
|
|
-- param duration Specify the duration of the TurnOffTiles action. It's a value in seconds.<br>
|
|
|
|
-- param gridSize Specify the size of the grid.<br>
|
|
|
|
-- param seed Specify the random seed.<br>
|
|
|
|
-- return If the Initialization success, return true; otherwise, return false.
|
|
|
|
-- @function [parent=#TurnOffTiles] initWithDuration
|
|
|
|
-- @param self
|
|
|
|
-- @param #float duration
|
|
|
|
-- @param #size_table gridSize
|
|
|
|
-- @param #unsigned int seed
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, float, size_table, unsigned int
|
|
|
|
-- @overload self, float, size_table
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#TurnOffTiles] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #size_table gridSize
|
|
|
|
-- @param #unsigned int seed
|
2014-10-17 22:56:22 +08:00
|
|
|
-- @return TurnOffTiles#TurnOffTiles ret (return value: cc.TurnOffTiles)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
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=#TurnOffTiles] startWithTarget
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.Node target
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TurnOffTiles#TurnOffTiles self (return value: cc.TurnOffTiles)
|
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=#TurnOffTiles] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return TurnOffTiles#TurnOffTiles ret (return value: cc.TurnOffTiles)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#TurnOffTiles] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return TurnOffTiles#TurnOffTiles self (return value: cc.TurnOffTiles)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#TurnOffTiles] TurnOffTiles
|
|
|
|
-- @param self
|
|
|
|
-- @return TurnOffTiles#TurnOffTiles self (return value: cc.TurnOffTiles)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|