2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Scene
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Node
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-09-26 23:37:17 +08:00
|
|
|
--------------------------------
|
|
|
|
-- render the scene
|
|
|
|
-- @function [parent=#Scene] render
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Renderer renderer
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Scene#Scene self (return value: cc.Scene)
|
2014-09-26 23:37:17 +08:00
|
|
|
|
2015-01-14 11:43:27 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#Scene] getDefaultCamera
|
|
|
|
-- @param self
|
|
|
|
-- @return Camera#Camera ret (return value: cc.Camera)
|
|
|
|
|
2014-06-05 11:01:43 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- creates a new Scene object with a predefined Size
|
2014-06-05 11:01:43 +08:00
|
|
|
-- @function [parent=#Scene] createWithSize
|
|
|
|
-- @param self
|
|
|
|
-- @param #size_table size
|
|
|
|
-- @return Scene#Scene ret (return value: cc.Scene)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- creates a new Scene object
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#Scene] create
|
|
|
|
-- @param self
|
|
|
|
-- @return Scene#Scene ret (return value: cc.Scene)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-11-26 11:20:28 +08:00
|
|
|
-- @overload self, cc.Node, int, string
|
|
|
|
-- @overload self, cc.Node, int, int
|
|
|
|
-- @function [parent=#Scene] addChild
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param self
|
2014-11-26 11:20:28 +08:00
|
|
|
-- @param #cc.Node child
|
|
|
|
-- @param #int zOrder
|
|
|
|
-- @param #int tag
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return Scene#Scene self (return value: cc.Scene)
|
2014-11-26 11:20:28 +08:00
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
--
|
2014-11-26 11:20:28 +08:00
|
|
|
-- @function [parent=#Scene] getDescription
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param self
|
2014-11-26 11:20:28 +08:00
|
|
|
-- @return string#string ret (return value: string)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2015-03-13 14:19:29 +08:00
|
|
|
--------------------------------
|
|
|
|
-- override function
|
|
|
|
-- @function [parent=#Scene] removeAllChildren
|
|
|
|
-- @param self
|
|
|
|
-- @return Scene#Scene self (return value: cc.Scene)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|