Class BoringClientBot

java.lang.Object
za.co.wethinkcode.robots.client.clientRobot.ClientRobot
za.co.wethinkcode.robots.client.clientRobot.BoringClientBot
All Implemented Interfaces:
WorldObject, Argument, Robot

public class BoringClientBot extends ClientRobot implements WorldObject
A boring client robot. Nothing of note. Used the most in testing.
  • Constructor Details

    • BoringClientBot

      public BoringClientBot(String name)
      Standard construction of a Boring Client bot. Mostly used in testing
      Parameters:
      name - name of the boring bot
    • BoringClientBot

      public BoringClientBot(String name, RobotState robotState)
      Construction of a robot from a RobotState
      Parameters:
      name - name of the robot
      robotState - state of the robot
  • Method Details

    • getType

      public WorldObject.WorldObjectType getType()
      Standard getter for a WorldObject's type
      Specified by:
      getType in interface WorldObject
      Returns:
      worldObject type of the worldObject
    • getValue

      public Object getValue()
      Description copied from interface: Argument
      Get the value of @param
      Specified by:
      getValue in interface Argument
      Returns:
      the value of the argument