mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 20:33:54 -04:00
Add World:query
This method allows you to query the World in order to find a set of Entities that matches a specific Filter.
This commit is contained in:
parent
a4ae392341
commit
3d195c790f
3 changed files with 53 additions and 25 deletions
|
@ -53,7 +53,7 @@ function System.new(definition)
|
|||
Utils.error(2, "invalid name for filter (string key expected, got %s)", type(name))
|
||||
end
|
||||
|
||||
Filter.validate(name, def)
|
||||
Filter.validate(0, name, def)
|
||||
end
|
||||
|
||||
local systemClass = setmetatable({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue