Class LookCommandRequest
java.lang.Object
za.co.wethinkcode.robots.client.commands.ClientCommandRequest
za.co.wethinkcode.robots.client.commands.LookCommandRequest
Class for requesting a look command be executed
-
Field Summary
Fields inherited from class za.co.wethinkcode.robots.client.commands.ClientCommandRequest
arguments, command -
Constructor Summary
ConstructorsConstructorDescriptionLookCommandRequest(String robotName, String[] arguments) Publicly available constructor for the look command -
Method Summary
Modifier and TypeMethodDescriptionString[]Getter for arguments as a stringAbstract method for childClasses to define their expected argument syntaxMethods inherited from class za.co.wethinkcode.robots.client.commands.ClientCommandRequest
getCommand, getRobotName
-
Constructor Details
-
LookCommandRequest
public LookCommandRequest() -
LookCommandRequest
Publicly available constructor for the look command- Parameters:
robotName- name of the clientRobot that the command is being executed onarguments- arguments for the function
-
-
Method Details
-
getArguments
Description copied from class:ClientCommandRequestGetter for arguments as a string- Overrides:
getArgumentsin classClientCommandRequest- Returns:
- the arguments passed into this request
-
getArgumentsMap
Abstract method for childClasses to define their expected argument syntax- Specified by:
getArgumentsMapin classClientCommandRequest- Returns:
- Map of Strings corresponding to the type of argument and a value corresponding to its type.
-