Filter:add
Adds an Entity to the Pool, if it passes the Filter.
Adds an Entity to the Pool, if it passes the Filter.
filter = filter:add( e, bypass )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
e |
Entity | Entity to add |
bypass |
boolean | Whether to bypass the Filter or not. |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
filter |
Filter | |
added |
boolean | Whether the entity was added or not. |