eapms
Class ExitObject

java.lang.Object
  |
  +--eapms.ExitStuff
        |
        +--eapms.ExitObject
All Implemented Interfaces:
java.io.Serializable

public class ExitObject
extends ExitStuff
implements java.io.Serializable

The object that defines exits between rooms. Exits can loosley be though of as edges in a graph, whereas the rooms would be vertices.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class eapms.ExitStuff
AGI, AIR, ARM, BODY, BODYM, BUILDINT, COMBATINT, DARK, DOWN, EARTH, EAST, FIRE, HEAD, HEART, helper, ITEMINT, LEG, LIGHT, MAGICINT, MAGICPULL, MIND, NE, NORTH, NW, QUICK, SE, SELLINT, SOUTH, SPIRIT, STAM, STEALTH, SW, UP, WATER, WEST
 
Constructor Summary
ExitObject(eapms.RoomObject room)
           
ExitObject(eapms.RoomObject room, int dir)
           
 
Method Summary
 void addLink(eapms.RoomObject room)
           
 void addLink(eapms.RoomObject room, int dir)
           
 int getNotWhere(eapms.RoomObject room)
           
 eapms.RoomObject getRoomFor(int n)
           
 eapms.RoomObject getSRoom(eapms.RoomObject room)
           
 
Methods inherited from class eapms.ExitStuff
check
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitObject

public ExitObject(eapms.RoomObject room,
                  int dir)

ExitObject

public ExitObject(eapms.RoomObject room)
Method Detail

addLink

public void addLink(eapms.RoomObject room)

addLink

public void addLink(eapms.RoomObject room,
                    int dir)

getNotWhere

public int getNotWhere(eapms.RoomObject room)

getRoomFor

public eapms.RoomObject getRoomFor(int n)

getSRoom

public eapms.RoomObject getSRoom(eapms.RoomObject room)