EntityPredicate

typealias EntityPredicate = (Entity) -> Boolean

Predicate deciding whether a custom entity should turn to look at a given nearby entity.