de.adom.jade.world.maps
Class Room

java.lang.Object
  extended by de.adom.jade.world.maps.Area
      extended by de.adom.jade.world.maps.WalledArea
          extended by de.adom.jade.world.maps.Room
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Building

public class Room
extends WalledArea

Creates a room.

See Also:
Serialized Form

Constructor Summary
Room(int lx, int ly, int rx, int ry, java.lang.String description)
          Defines a room.
 
Method Summary
 
Methods inherited from class de.adom.jade.world.maps.WalledArea
drawOn
 
Methods inherited from class de.adom.jade.world.maps.Area
canEnter, canExit, contains, getDescription, getX1, getX2, getY1, getY2, isEnteredBy, isExitedBy, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Room

public Room(int lx,
            int ly,
            int rx,
            int ry,
            java.lang.String description)
Defines a room.

Parameters:
lx - the left x coordinate of the area
ly - the left y coordinate of the area
rx - the right x coordinate of the area
ry - the right y coordinate of the area
descripion - the description of the area