|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--mstar.Exit
|
+--mstar.PathComponent
The PathComponent is used as part of the path finding routines in the MUD map. It represents a piece of a potential path that may result in a full path being located between two rooms in the collaborative environment.
| Constructor Summary | |
PathComponent()
Creates an empty path component. |
|
| Method Summary | |
boolean |
depthEquals(int depth)
Determines if this depth is equal to the depth that is being checked. |
int |
getDepth()
Gets the current search depth for this path. |
void |
setDepth(int depth)
Sets the current search depth for this path. |
java.lang.String |
toString()
Creates a String representation of this path component. |
| Methods inherited from class mstar.Exit |
clearVisited,
equal,
getDirection,
getExitName,
getFromRoom,
getToRoom,
hasBeenVisited,
isConfusing,
setConfusing,
setConfusing,
setDirection,
setExitName,
setFromRoom,
setToRoom,
setVisited,
setVisited |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public PathComponent()
| Method Detail |
public void setDepth(int depth)
depth - the current depth for the path search.public int getDepth()
public boolean depthEquals(int depth)
depth - the depth to be checked.public java.lang.String toString()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||