|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectagent.Action
vacworld.ShutOff
public final class ShutOff
A vacuum cleaning world action that causes the agent to power down.
| Constructor Summary | |
|---|---|
ShutOff()
|
|
| Method Summary | |
|---|---|
State |
execute(Agent a,
State s)
Return the state that results from the agent shutting off in the given state. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShutOff()
| Method Detail |
|---|
public State execute(Agent a,
State s)
execute in class Actionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||