java.lang.Object
za.co.wethinkcode.robots.server.serverCommands.ServerCommand
za.co.wethinkcode.robots.server.serverCommands.DumpCommand
All Implemented Interfaces:
Command

public class DumpCommand extends ServerCommand implements Command
Concrete version of an unevaluated Dump Command
  • Constructor Details

    • DumpCommand

      public DumpCommand()
    • DumpCommand

      public DumpCommand(String[] arguments)
  • Method Details

    • execute

      public CommandResult execute(Map<String,Argument> args, WorldState worldstate)
      Specified by:
      execute in interface Command
      Parameters:
      args - arguments for this Command
      worldstate - the current state of the world
      Returns:
      an immutable evaluation of the command