|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.nott.cs.g54dia.library.DefaultCellFactory
public class DefaultCellFactory
A default CellFactory which populates the environment with stations and wells.
Field Summary | |
---|---|
(package private) static double |
DEFAULT_STATION_DENSITY
Default well density. |
(package private) static double |
DEFAULT_WELL_DENSITY
|
Constructor Summary | |
---|---|
DefaultCellFactory()
Create a DefaultCellFactory. |
Method Summary | |
---|---|
void |
generateCell(Environment env,
Point pos)
Create new cells and wells in the environment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final double DEFAULT_STATION_DENSITY
static final double DEFAULT_WELL_DENSITY
Constructor Detail |
---|
public DefaultCellFactory()
Method Detail |
---|
public void generateCell(Environment env, Point pos)
generateCell
in interface CellFactory
env
- environment to which the cell is to be addedpos
- position of the new cell
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |