|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--mstar.RobotAction
This class defines an action for the robot to perform as part of a response to another character in the collaborative environment.
| Constructor Summary | |
RobotAction()
Create an empty action and set the action to be DEFAULT. |
|
RobotAction(java.lang.String response)
Create an action and set the response to the specified response. |
|
RobotAction(java.lang.String action,
java.lang.String response)
Create an action using the specified action and response. |
|
| Method Summary | |
java.lang.String |
getAction()
Gets the action that the robot should use in its response. |
java.lang.String |
getResponse()
Gets the response that the robot should send to the user that it is interacting with. |
void |
setAction(java.lang.String action)
Sets the action that the robot should use in its response. |
void |
setResponse(java.lang.String response)
Sets the response that the robot should send to the user that it is interacting with. |
boolean |
shouldUseDefaultAction()
Checks to see if the robot should use the default action instead of a programmer specified action. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public RobotAction()
public RobotAction(java.lang.String response)
response - the response the robot should send to the user
that it is interacting with.
public RobotAction(java.lang.String action,
java.lang.String response)
action - the type of action the robot should use in its
response. For example, pose.response - the response the robot should send to the user
that it is interacting with.| Method Detail |
public void setAction(java.lang.String action)
action - the type of action the robot should use in its
response. For example, pose.public java.lang.String getAction()
public void setResponse(java.lang.String response)
response - the response the robot should send to the user
that it is interacting with.public java.lang.String getResponse()
public boolean shouldUseDefaultAction()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||