Skip to content

Commit 51bd416

Browse files
committed
user ecs.world() as luaecs words
1 parent f44867d commit 51bd416

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

meta/3rd/luaecs/config.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
files = { "ecs.so", 'ecs.lua' }
1+
name = "luaecs"
2+
words = { "ecs%.world()" }

meta/3rd/luaecs/library/ecs.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ function meta:group_enable(tagname, ...) end
231231
---@return string # tag | lua | c | M._TYPE*
232232
function meta:type(name) end
233233

234+
---This will reset `tagname`'s component pool.
234235
---Set tag on entitys in pattern `pat`
235236
---@param tagname string
236237
---@param pat string
@@ -385,7 +386,7 @@ function meta:__gc(...) end
385386
function meta:group_add(groupid, eid) end
386387

387388
---C API. Add tag of group's entitys
388-
---**NOTICE: this call will clear the reset the tag's groups.**
389+
---**NOTICE: this call will clear the the tag's component pool.**
389390
---@param tagid number
390391
---@param ... number #max number is 1024
391392
---@see ECSWorld#group_enable

meta/3rd/skynet/config.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
name = "skynet"
12
words = { "skynet.start" }

0 commit comments

Comments
 (0)