Skip to content
ConcordConcordConcord

Pool

Entity collection backing a Filter. Default instances are List; custom constructors must implement add, remove, has, and clear.

← Filter

Entity collection backing a Filter. Default instances are List; custom constructors must implement add, remove, has, and clear.

Default List pools may define onAdded / onRemoved (see List); clear does not invoke onRemoved.

Name Type Description
onAdded? fun(self: Pool, e: Entity): nil Optional; List pools support this callback
onRemoved? fun(self: Pool, e: Entity): nil Optional; List pools support this callback