|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagent.Action
vacworld.TurnRight
A vacuum cleaning world action that causes the agent to turn 90 degrees to the right.
Constructor Summary | |
TurnRight()
|
Method Summary | |
State |
execute(Agent a,
State s)
Return the state that results from the agent turning right in the given state. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TurnRight()
Method Detail |
public State execute(Agent a, State s)
execute
in class Action
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |