EntityFinder( finders )


Create a new EntityFinder that uses multiple condition objects. An Entity must pass all the conditions before being accepted.


Name Type Description
finders Table of Object Table of finders to use as conditions


Type Description
EntityFinder The new EntityFinder


The objects passed in the table as the finder argument must have a function name evaluate. This function should take an Entity as its only argument and return a boolean - true if the Entity passed the test and false if it failed.