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

public class QuitCommand extends ServerCommand implements Command
  • Constructor Details

    • QuitCommand

      public QuitCommand(String[] arguments)
  • Method Details

    • execute

      public CommandResult execute(Map<String,Argument> args, WorldState worldstate)
      Specified by:
      execute in interface Command
      Parameters:
      args - map of the arguments needed to execute a quit command
      worldstate - the worldState that quit is being executed in
      Returns:
      the evaluated result of the quit command