2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module LayerMultiplex
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Layer
|
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
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- release the current layer and switches to another layer indexed by n.<br>
|
|
|
|
-- The current (old) layer will be removed from it's parent with 'cleanup=true'.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#LayerMultiplex] switchToAndReleaseMe
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int n
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#LayerMultiplex] addLayer
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Layer layer
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- switches to a certain layer indexed by n.<br>
|
|
|
|
-- The current (old) layer will be removed from it's parent with 'cleanup=true'.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#LayerMultiplex] switchTo
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #int n
|
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=#LayerMultiplex] getDescription
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|