mirror of https://github.com/axmolengine/axmol.git
34 lines
958 B
Lua
34 lines
958 B
Lua
|
|
--------------------------------
|
|
-- @module LayerMultiplex
|
|
-- @extend Layer
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- 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'.
|
|
-- @function [parent=#LayerMultiplex] switchToAndReleaseMe
|
|
-- @param self
|
|
-- @param #int n
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#LayerMultiplex] addLayer
|
|
-- @param self
|
|
-- @param #cc.Layer layer
|
|
|
|
--------------------------------
|
|
-- switches to a certain layer indexed by n.<br>
|
|
-- The current (old) layer will be removed from it's parent with 'cleanup=true'.
|
|
-- @function [parent=#LayerMultiplex] switchTo
|
|
-- @param self
|
|
-- @param #int n
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#LayerMultiplex] getDescription
|
|
-- @param self
|
|
-- @return string#string ret (return value: string)
|
|
|
|
return nil
|