Pool
Entity collection backing a Filter. Default instances are List; custom constructors must implement add, remove, has, and clear.
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.
Fields
Section titled “Fields”| 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 |