de.adom.jade.world.maps
Class Building

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
              extended by de.adom.jade.world.maps.Building
All Implemented Interfaces:
java.io.Serializable

public class Building
extends Room

Creates a building.

See Also:
Serialized Form

Constructor Summary
Building(int lx, int ly, int rx, int ry)
          Defines a building.
Building(int lx, int ly, int rx, int ry, java.lang.String description)
          Defines a building.
 
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

Building

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

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

Building

public Building(int lx,
                int ly,
                int rx,
                int ry)
Defines a building.

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