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 PieceFilter
parse(String expression)
Return a PieceFilter parsed from a boolean expression such as prop1 = value1 && prop2 = value2 || prop3 = value3static String
toBeanShellString(String s)
static String
toBeanShellString(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
-