2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module FadeOutTRTiles
|
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=#FadeOutTRTiles] turnOnTile
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #vec2_table pos
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return FadeOutTRTiles#FadeOutTRTiles self (return value: cc.FadeOutTRTiles)
|
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=#FadeOutTRTiles] turnOffTile
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #vec2_table pos
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return FadeOutTRTiles#FadeOutTRTiles self (return value: cc.FadeOutTRTiles)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
-- brief Show part of the tile.<br>
|
|
|
|
-- param pos The position index of the tile should be shown.<br>
|
|
|
|
-- param distance The percentage that the tile should be shown.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#FadeOutTRTiles] transformTile
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #vec2_table pos
|
|
|
|
-- @param #float distance
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return FadeOutTRTiles#FadeOutTRTiles self (return value: cc.FadeOutTRTiles)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
-- brief Calculate the percentage a tile should be shown.<br>
|
|
|
|
-- param pos The position index of the tile.<br>
|
|
|
|
-- param time The current percentage of the action.<br>
|
|
|
|
-- return Return the percentage the tile should be shown.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#FadeOutTRTiles] testFunc
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #size_table pos
|
|
|
|
-- @param #float time
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
-- brief Create the action with the grid size and the duration.<br>
|
|
|
|
-- param duration Specify the duration of the FadeOutTRTiles action. It's a value in seconds.<br>
|
|
|
|
-- param gridSize Specify the size of the grid.<br>
|
|
|
|
-- return If the creation success, return a pointer of FadeOutTRTiles action; otherwise, return nil.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#FadeOutTRTiles] create
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float duration
|
|
|
|
-- @param #size_table gridSize
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return FadeOutTRTiles#FadeOutTRTiles ret (return value: cc.FadeOutTRTiles)
|
|
|
|
|
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=#FadeOutTRTiles] clone
|
|
|
|
-- @param self
|
|
|
|
-- @return FadeOutTRTiles#FadeOutTRTiles ret (return value: cc.FadeOutTRTiles)
|
|
|
|
|
|
|
|
--------------------------------
|
2015-03-19 11:55:42 +08:00
|
|
|
--
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @function [parent=#FadeOutTRTiles] update
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #float time
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return FadeOutTRTiles#FadeOutTRTiles self (return value: cc.FadeOutTRTiles)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-05-05 11:31:53 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#FadeOutTRTiles] FadeOutTRTiles
|
|
|
|
-- @param self
|
|
|
|
-- @return FadeOutTRTiles#FadeOutTRTiles self (return value: cc.FadeOutTRTiles)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|