java.lang.Object
za.co.wethinkcode.robots.server.commands.internal.DumpCommand

public class DumpCommand extends Object
  • Constructor Details

    • DumpCommand

      public DumpCommand()
  • Method Details

    • execute

      public void execute(World world)
      Dump calls formatDumpString(World) internally, then makes a shallow call to ServerRenderer
      Parameters:
      world - the World this command is being executed on
    • formatDumpString

      public String formatDumpString(World world)
      Take in a World and return the appropriately formatted dump string
      Parameters:
      world - the World this command is being executed on
      Returns:
      a String representation of the dump command