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
A boring client robot. Nothing of note. Used the most in testing.
-
Nested Class Summary
Nested classes/interfaces inherited from interface za.co.wethinkcode.robots.server.worldinfo.WorldObject
WorldObject.WorldObjectType -
Constructor Summary
ConstructorsConstructorDescriptionBoringClientBot(String name) Standard construction of a Boring Client bot.BoringClientBot(String name, RobotState robotState) Construction of a robot from a RobotState -
Method Summary
Methods inherited from class za.co.wethinkcode.robots.client.clientRobot.ClientRobot
equals, getName, getRobotKind, getRobotStatus, hashCode, setStatus
-
Constructor Details
-
BoringClientBot
Standard construction of a Boring Client bot. Mostly used in testing- Parameters:
name- name of the boring bot
-
BoringClientBot
Construction of a robot from a RobotState- Parameters:
name- name of the robotrobotState- state of the robot
-
-
Method Details
-
getType
Standard getter for a WorldObject's type- Specified by:
getTypein interfaceWorldObject- Returns:
- worldObject type of the worldObject
-
getValue
Description copied from interface:ArgumentGet the value of @param
-