EntityFinder
An EntityFinder is used to search for Entities. Each Entity in the game world is tested against provided condition functions. If the Entity passes all of the tests then it is added to the results.You can provide custom functions to use as conditions.
Functions and Enumerations
- Constructors
Constructors for the EntityFinder class.
- EntityFinder( finder )
Create a new EntityFinder with a single condition object
- EntityFinder( finders )
Create a new EntityFinder with multiple condition objects
- EntityFinder( function )
Create a new EntityFinder with a single condition function
- EntityFinder( functions )
Create a new EntityFinder with multiple condition functions
- EntityFinder( finder )
- Instance Functions
Functions that are used with a EntityFinder instance.
- find( )
Find all matching entities
- find( max )
Find up to a maximum number of entities
- findOne( )
Find the first matching entity
- find( )