|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.adom.jade.world.maps.Area
de.adom.jade.world.maps.WalledArea
Creates an area that is walled by some means.
| Constructor Summary | |
|---|---|
WalledArea(int lx,
int ly,
int rx,
int ry,
java.lang.String description)
Defines a walled area. |
|
| Method Summary | |
|---|---|
void |
drawOn(Map map)
Draws the area on the given map. |
| 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 |
|---|
public WalledArea(int lx,
int ly,
int rx,
int ry,
java.lang.String description)
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| Method Detail |
|---|
public void drawOn(Map map)
drawOn in class Areamap - the map to draw the area upon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||