From d288cd1e6d0bb9fd4c05e6afa3e26bb7e0658839 Mon Sep 17 00:00:00 2001 From: carsakiller Date: Fri, 27 Oct 2023 20:42:06 -0400 Subject: refactor: replace Cocos4.0 with LuaCATS submodule --- meta/3rd/Cocos4.0 | 1 + meta/3rd/Cocos4.0/library/cc/Scene.lua | 75 ---------------------------------- 2 files changed, 1 insertion(+), 75 deletions(-) create mode 160000 meta/3rd/Cocos4.0 delete mode 100644 meta/3rd/Cocos4.0/library/cc/Scene.lua (limited to 'meta/3rd/Cocos4.0/library/cc/Scene.lua') diff --git a/meta/3rd/Cocos4.0 b/meta/3rd/Cocos4.0 new file mode 160000 index 00000000..c0b2259e --- /dev/null +++ b/meta/3rd/Cocos4.0 @@ -0,0 +1 @@ +Subproject commit c0b2259e0d367561fd4563ae114b029b4dfe3a8f diff --git a/meta/3rd/Cocos4.0/library/cc/Scene.lua b/meta/3rd/Cocos4.0/library/cc/Scene.lua deleted file mode 100644 index 0a44a14e..00000000 --- a/meta/3rd/Cocos4.0/library/cc/Scene.lua +++ /dev/null @@ -1,75 +0,0 @@ ----@meta - ----@class cc.Scene :cc.Node -local Scene={ } -cc.Scene=Scene - - - - ----* ----@return boolean -function Scene:initWithPhysics () end ----* ----@return self -function Scene:setCameraOrderDirty () end ----* Render the scene.
----* param renderer The renderer use to render the scene.
----* param eyeTransform The AdditionalTransform of camera.
----* param eyeProjection The projection matrix of camera.
----* js NA ----@param renderer cc.Renderer ----@param eyeTransform mat4_table ----@param eyeProjection mat4_table ----@return self -function Scene:render (renderer,eyeTransform,eyeProjection) end ----* ----@param deltaTime float ----@return self -function Scene:stepPhysicsAndNavigation (deltaTime) end ----* ----@param event cc.EventCustom ----@return self -function Scene:onProjectionChanged (event) end ----* Get the physics world of the scene.
----* return The physics world of the scene.
----* js NA ----@return cc.PhysicsWorld -function Scene:getPhysicsWorld () end ----* ----@param size size_table ----@return boolean -function Scene:initWithSize (size) end ----* Get the default camera.
----* js NA
----* return The default camera of scene. ----@return cc.Camera -function Scene:getDefaultCamera () end ----* Creates a new Scene object with a predefined Size.
----* param size The predefined size of scene.
----* return An autoreleased Scene object.
----* js NA ----@param size size_table ----@return self -function Scene:createWithSize (size) end ----* Creates a new Scene object.
----* return An autoreleased Scene object. ----@return self -function Scene:create () end ----* Create a scene with physics.
----* return An autoreleased Scene object with physics.
----* js NA ----@return self -function Scene:createWithPhysics () end ----* ----@return boolean -function Scene:init () end ----* ----@return string -function Scene:getDescription () end ----* override function ----@return self -function Scene:removeAllChildren () end ----* ----@return self -function Scene:Scene () end \ No newline at end of file -- cgit v1.2.3