Class BasicLogger.LogCommand

java.lang.Object
VASSAL.command.Command
VASSAL.build.module.BasicLogger.LogCommand
Enclosing class:
BasicLogger

public static class BasicLogger.LogCommand extends Command
  • Field Details

    • logged

      protected Command logged
    • logInput

      protected List<Command> logInput
    • stepAction

      protected Action stepAction
  • Constructor Details

  • Method Details

    • executeCommand

      protected void executeCommand()
      Description copied from class: Command
      Perform the action which this Command represents
      Specified by:
      executeCommand in class Command
    • myUndoCommand

      protected Command myUndoCommand()
      Description copied from class: Command
      If the action can be undone, return a Command that performs the inverse action. The Command returned should only undo Command.executeCommand(), not the actions of subcommands
      Specified by:
      myUndoCommand in class Command
    • getLoggedCommand

      public Command getLoggedCommand()
    • execute

      public void execute()
      Description copied from class: Command
      Execute this command by first invoking Command.executeCommand(), then invoking itself recursively on all subcommands.
      Overrides:
      execute in class Command
    • assembleCommand

      protected Command assembleCommand()