|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.adom.jade.world.maps.AreaCreator
de.adom.jade.world.maps.BuildingCreator
Creates a predefined number of building.
| Constructor Summary | |
|---|---|
BuildingCreator(java.lang.String widthDiceString,
java.lang.String heightDiceString,
int count)
Defines a building creator for a number of buildings. |
|
| Method Summary | |
|---|---|
protected Area |
createAreaImpl(int x1,
int y1,
int x2,
int y2)
Creates a new area. |
| Methods inherited from class de.adom.jade.world.maps.AreaCreator |
|---|
createArea, hasMoreAreas |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildingCreator(java.lang.String widthDiceString,
java.lang.String heightDiceString,
int count)
widthDice - the dice used to define the widthheightDice - the dice used to define the heightcount - the number of buildings| Method Detail |
|---|
protected Area createAreaImpl(int x1,
int y1,
int x2,
int y2)
AreaCreator
createAreaImpl in class AreaCreatorx1 - the left x position of the areay1 - the left y position of the areax2 - the right x position of the areay2 - the right y position of the area
AreaCreator.createAreaImpl(int, int, int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||