Class SwapClientCommand

java.lang.Object
za.co.wethinkcode.robots.client.commands.SwapClientCommand
All Implemented Interfaces:
InternalClientCommand

public class SwapClientCommand extends Object implements InternalClientCommand
The swap command allows a user to switch between launched robots.
  • Constructor Details

    • SwapClientCommand

      public SwapClientCommand(Memory memory, Client client)
      Standard constructor for a swap command
      Parameters:
      memory -
      client -
  • Method Details

    • execute

      public void execute(Memory memory, ClientRobot yourRobo)
    • execute

      public void execute(Memory memory, String nextBot)
    • executeOld

      public void executeOld(Memory memory)