megamek.common
Interface EntitySelector


public interface EntitySelector

Implementing classes perform a test to determine if an Entity meets the selection criteria.

Author:
James Damour (suvarov454@users.sourceforge.net)

Method Summary
 boolean accept(Entity entity)
          Determine if the given Entity meets the selection criteria.
 

Method Detail

accept

boolean accept(Entity entity)
Determine if the given Entity meets the selection criteria.

Parameters:
entity - the Entity being tested.
Returns:
true if the entity meets the criteria.