Package VASSAL.counters
Class PropertiesPieceFilter
java.lang.Object
VASSAL.counters.PropertiesPieceFilter
public class PropertiesPieceFilter extends Object
Accepts pieces based on whether the piece has properties that
match a given set of conditions
-
Constructor Summary
Constructors Constructor Description PropertiesPieceFilter() -
Method Summary
Modifier and Type Method Description static PieceFilterparse(String expression)Return a PieceFilter parsed from a boolean expression such as prop1 = value1 && prop2 = value2 || prop3 = value3static StringtoBeanShellString(String s)static StringtoBeanShellString(PieceFilter f)
-
Constructor Details
-
PropertiesPieceFilter
public PropertiesPieceFilter()
-
-
Method Details
-
parse
Return a PieceFilter parsed from a boolean expression such as prop1 = value1 && prop2 = value2 || prop3 = value3- Parameters:
expression-- Returns:
-
toBeanShellString
-
toBeanShellString
-