|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.ObjectatomicActions.AtomicAction
atomicActions.WashFace
public class WashFace
WashFace, just say he is doing it
| Field Summary |
|---|
| Fields inherited from class atomicActions.AtomicAction |
|---|
actionStart, agent, attractivity, counter, dModule, location, parent, type |
| Constructor Summary | |
|---|---|
WashFace(Action parent,
Bot agent)
|
|
| Method Summary | |
|---|---|
void |
execute()
executes the atomic action, typicaly writes something to log, change agent name, so we can see in the environment what is he doing, raise counter |
boolean |
failed()
Note that if it returns false, it doesn't mean that it succeeded, it means that it just hasn't finished yet. |
boolean |
succeeded()
Note that if it returns false, it doesn't mean that it failed, it means that it just hasn't finished yet. |
| Methods inherited from class atomicActions.AtomicAction |
|---|
checkIfOnThePlace, echoAction, equals, getEnvironmentAction, hashCode, initialisation, logFinished, terminalisation, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WashFace(Action parent,
Bot agent)
| Method Detail |
|---|
public boolean succeeded()
AtomicAction
succeeded in class AtomicActionpublic boolean failed()
AtomicAction
failed in class AtomicActionpublic void execute()
AtomicAction
execute in class AtomicAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||