Class RangeFilter
java.lang.Object
VASSAL.counters.RangeFilter
- All Implemented Interfaces:
PieceFilter
Accepts all pieces within a specified range of a given point on a map
-
Constructor Details
-
RangeFilter
-
-
Method Details
-
accept
Description copied from interface:PieceFilter
Test if a piece matches the filter. This sig should only be used for filters that can not have Expressions as a component of the filter and thus have no Expression Auditing requirementts- Specified by:
accept
in interfacePieceFilter
- Parameters:
piece
- piece- Returns:
- true if piece match filter
-