Class LaunchClientCommand

java.lang.Object
za.co.wethinkcode.robots.server.clientCommands.LaunchClientCommand
All Implemented Interfaces:
ClientCommand, Command

public class LaunchClientCommand extends Object implements ClientCommand
  • Constructor Details

  • Method Details

    • execute

      public CommandResult execute(ServerRobot target, Map<String,Argument> args, WorldState worldState)
      Overload of execute method that supports passing in a robot as the target for a command
      Specified by:
      execute in interface ClientCommand
      Parameters:
      target - the robot that this command is being executed on
      args - arguments for this Command
      worldState - the current state of the world
      Returns:
      an immutable evaluation of the command
    • 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