de.adom.jade.world.maps
Class Building
java.lang.Object
de.adom.jade.world.maps.Area
de.adom.jade.world.maps.WalledArea
de.adom.jade.world.maps.Room
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. |
| 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 |
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 arealy - the left y coordinate of the arearx - the right x coordinate of the areary - the right y coordinate of the areadescripion - 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 arealy - the left y coordinate of the arearx - the right x coordinate of the areary - the right y coordinate of the area