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/ShatteredTiles3D.lua | 43 ----------------------- 2 files changed, 1 insertion(+), 43 deletions(-) create mode 160000 meta/3rd/Cocos4.0 delete mode 100644 meta/3rd/Cocos4.0/library/cc/ShatteredTiles3D.lua (limited to 'meta/3rd/Cocos4.0/library/cc/ShatteredTiles3D.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/ShatteredTiles3D.lua b/meta/3rd/Cocos4.0/library/cc/ShatteredTiles3D.lua deleted file mode 100644 index 1fa5198e..00000000 --- a/meta/3rd/Cocos4.0/library/cc/ShatteredTiles3D.lua +++ /dev/null @@ -1,43 +0,0 @@ ----@meta - ----@class cc.ShatteredTiles3D :cc.TiledGrid3DAction -local ShatteredTiles3D={ } -cc.ShatteredTiles3D=ShatteredTiles3D - - - - ----* brief Initializes the action with a range, shatter Z vertices, grid size and duration.
----* param duration Specify the duration of the ShatteredTiles3D action. It's a value in seconds.
----* param gridSize Specify the size of the grid.
----* param range Specify the range of the shatter effect.
----* param shatterZ Specify whether shake on the z axis.
----* return If the Initialization success, return true; otherwise, return false. ----@param duration float ----@param gridSize size_table ----@param range int ----@param shatterZ boolean ----@return boolean -function ShatteredTiles3D:initWithDuration (duration,gridSize,range,shatterZ) end ----* brief Create the action with a range, whether of not to shatter Z vertices, grid size and duration.
----* param duration Specify the duration of the ShatteredTiles3D action. It's a value in seconds.
----* param gridSize Specify the size of the grid.
----* param range Specify the range of the shatter effect.
----* param shatterZ Specify whether shatter on the z axis.
----* return If the creation success, return a pointer of ShatteredTiles3D action; otherwise, return nil. ----@param duration float ----@param gridSize size_table ----@param range int ----@param shatterZ boolean ----@return self -function ShatteredTiles3D:create (duration,gridSize,range,shatterZ) end ----* ----@return self -function ShatteredTiles3D:clone () end ----* ----@param time float ----@return self -function ShatteredTiles3D:update (time) end ----* ----@return self -function ShatteredTiles3D:ShatteredTiles3D () end \ No newline at end of file -- cgit v1.2.3