|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.molwind.chemical.view.ChemicalTileGenerator
public class ChemicalTileGenerator
ChemicalTileGenerator generates tiles containing chemical compounds.
Constructor Summary | |
---|---|
ChemicalTileGenerator(ChemicalWorld chemicalWorld)
Create a new tile generator based on the given chemical world. |
Method Summary | |
---|---|
Tile |
generateTile(LayeredPosition position)
Generates a tile from the given position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChemicalTileGenerator(ChemicalWorld chemicalWorld)
chemicalWorld
- the chemical worldMethod Detail |
---|
public Tile generateTile(LayeredPosition position) throws TileException
generateTile
in interface TileGenerator
position
- the position
TileException
- is thrown upon tile error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |