|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.huguesjohnson.tiamat.LocationExit
public class LocationExit
LocationExit - represents an exit from a location
Constructor Summary | |
---|---|
LocationExit(java.lang.String direction,
java.lang.String name)
Creates a new LocationExit. |
Method Summary | |
---|---|
java.lang.String |
getDirection()
Returns the direction of this exit. |
java.lang.String |
getName()
Returns the name of the Area where this exit leads. |
void |
setDirection(java.lang.String direction)
Sets the direction of this exit. |
void |
setName(java.lang.String name)
Sets the name of the Area where this exit leads. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocationExit(java.lang.String direction, java.lang.String name)
direction
- The direction of this exit.name
- The name of the Area where this exit leads.Method Detail |
---|
public java.lang.String getDirection()
public void setDirection(java.lang.String direction)
direction
- The direction of this exit.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the Area where this exit leads.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |