diff options
author | Gowa2017 <33367355+Gowa2017@users.noreply.github.com> | 2022-10-20 23:46:43 +0800 |
---|---|---|
committer | Gowa2017 <33367355+Gowa2017@users.noreply.github.com> | 2022-10-20 23:46:43 +0800 |
commit | 51bd4160b9d012270cf6c02a426e1355336c8fa3 (patch) | |
tree | f3679d05e9c34db7d0bd93d5bb6fd9984030255c /meta/3rd/luaecs | |
parent | f44867d80b38d5caa1990a714724263e87c30fed (diff) | |
download | lua-language-server-51bd4160b9d012270cf6c02a426e1355336c8fa3.zip |
user ecs.world() as luaecs words
Diffstat (limited to 'meta/3rd/luaecs')
-rw-r--r-- | meta/3rd/luaecs/config.lua | 3 | ||||
-rw-r--r-- | meta/3rd/luaecs/library/ecs.lua | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/3rd/luaecs/config.lua b/meta/3rd/luaecs/config.lua index 509540a7..0f79fabf 100644 --- a/meta/3rd/luaecs/config.lua +++ b/meta/3rd/luaecs/config.lua @@ -1 +1,2 @@ -files = { "ecs.so", 'ecs.lua' } +name = "luaecs" +words = { "ecs%.world()" } diff --git a/meta/3rd/luaecs/library/ecs.lua b/meta/3rd/luaecs/library/ecs.lua index a687ab0a..cda82b87 100644 --- a/meta/3rd/luaecs/library/ecs.lua +++ b/meta/3rd/luaecs/library/ecs.lua @@ -231,6 +231,7 @@ function meta:group_enable(tagname, ...) end ---@return string # tag | lua | c | M._TYPE* function meta:type(name) end +---This will reset `tagname`'s component pool. ---Set tag on entitys in pattern `pat` ---@param tagname string ---@param pat string @@ -385,7 +386,7 @@ function meta:__gc(...) end function meta:group_add(groupid, eid) end ---C API. Add tag of group's entitys ----**NOTICE: this call will clear the reset the tag's groups.** +---**NOTICE: this call will clear the the tag's component pool.** ---@param tagid number ---@param ... number #max number is 1024 ---@see ECSWorld#group_enable |