mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2026-07-21 15:46:52 -06:00
Update filer documentation to be more explicit.
This commit is contained in:
@@ -45,7 +45,9 @@ local tiny_removeSystem
|
||||
--- Filter functions.
|
||||
-- A Filter is a function that selects which Entities apply to a System.
|
||||
-- Filters take two parameters, the System and the Entity, and return a boolean
|
||||
-- value indicating if the Entity should be processed by the System.
|
||||
-- value indicating if the Entity should be processed by the System. A truthy
|
||||
-- value includes the entity, while a falsey (nil or false) value excludes the
|
||||
-- entity.
|
||||
--
|
||||
-- Filters must be added to Systems by setting the `filter` field of the System.
|
||||
-- Filter's returned by tiny-ecs's Filter functions are immutable and can be
|
||||
|
||||
Reference in New Issue
Block a user