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 Details

    • PropertiesPieceFilter

      public PropertiesPieceFilter()
  • Method Details

    • parse

      public static PieceFilter parse(String expression)
      Return a PieceFilter parsed from a boolean expression such as prop1 = value1 && prop2 = value2 || prop3 = value3
      Parameters:
      expression - Expression
      Returns:
      Piece Filter
    • toBeanShellString

      public static String toBeanShellString(String s)
    • toBeanShellString

      public static String toBeanShellString(PieceFilter f)