|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--os.OSProcess
|
+--MapMud
A Bot OS program to map the rooms in the mud.
| Constructor Summary | |
MapMud()
|
|
| Method Summary | |
boolean |
beVerbose()
|
java.lang.String |
getDescription()
|
boolean |
getExploreBreadthFirst()
|
java.lang.String[] |
getFallbackExits()
|
java.util.Properties |
getProperties()
|
java.lang.String |
getRobotName()
|
boolean |
getUseFallbackExits()
|
boolean |
getUsePossibleExits()
|
void |
initialize()
This is called by the operating system during the initialization phase of the process. |
boolean |
isAllowedToExplore()
|
Room |
lookHere()
|
void |
run()
The method that is called to do the real work of the process. |
void |
setAllowedToExplore(boolean t)
|
void |
setDescription(java.lang.String description)
|
void |
setExploreBreadthFirst(boolean exploreBreadthFirst)
|
void |
setFallbackExits(java.lang.String[] fallbackExits)
|
void |
setProperties(java.util.Properties properties)
|
void |
setRobotName(java.lang.String name)
|
void |
setUseFallbackExits(boolean useFallbackExits)
|
void |
setUsePossibleExits(boolean usePossibleExits)
|
void |
setVerbose(boolean t)
|
boolean |
shouldExplore()
|
void |
state10()
We have been to this room before, so process any chatter that we have heard and then decide how to proceed next.... |
void |
state11()
We have not been to this room before, so add it to the database and continue processing... |
void |
state12()
Pick an exit to try... |
void |
state13()
All the exits in this room have been explored, so we need to decide how to proceed next... |
void |
state6()
Look at the room the bot is in. |
void |
state8()
This state determines if the room object was created, and if it was what to do next. |
void |
state9()
This is where we check the current map to see if we already know about this room. |
| Methods inherited from class os.OSProcess |
done,
getArgs,
getExitStatus,
getId,
getObject,
getParentId,
getShared,
getWaitingFor,
isInitialized,
isWaitingFor,
registerObject,
requestObject,
setArgs,
setArgs,
setExitStatus,
setId,
setInitialized,
setObject,
setParentId,
setShared,
setWaitingFor,
toString |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public MapMud()
| Method Detail |
public void initialize()
public void run()
throws OSProcessRelinquishControl
public void state6()
public void state8()
public void state9()
public void state10()
public void state11()
public void state12()
public void state13()
public void setRobotName(java.lang.String name)
public java.lang.String getRobotName()
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public void setExploreBreadthFirst(boolean exploreBreadthFirst)
public boolean getExploreBreadthFirst()
public void setUsePossibleExits(boolean usePossibleExits)
public boolean getUsePossibleExits()
public void setUseFallbackExits(boolean useFallbackExits)
public boolean getUseFallbackExits()
public void setFallbackExits(java.lang.String[] fallbackExits)
public java.lang.String[] getFallbackExits()
public boolean shouldExplore()
public void setAllowedToExplore(boolean t)
public boolean isAllowedToExplore()
public void setVerbose(boolean t)
public boolean beVerbose()
public void setProperties(java.util.Properties properties)
public java.util.Properties getProperties()
public Room lookHere()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||