Class CommandFilter

java.lang.Object
VASSAL.command.CommandFilter
Direct Known Subclasses:
MainRoomFilter

public abstract class CommandFilter extends Object
Remove sub-commands from a composite command
Author:
rkinney
  • Constructor Details

    • CommandFilter

      public CommandFilter()
  • Method Details

    • apply

      public Command apply(Command c)
      Apply the filter
      Returns:
      the filtered command
    • accept

      protected abstract boolean accept(Command c)