Package megamek.common.units
Interface EntitySelector
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implementing classes perform a test to determine if an
Entity meets the selection criteria.-
Method Summary
-
Method Details
-
accept
Determine if the givenEntitymeets the selection criteria.- Parameters:
entity- theEntitybeing tested.- Returns:
trueif the entity meets the criteria.
-