Constructor and Description |
---|
FreeGround() |
Modifier and Type | Method and Description |
---|---|
void |
drawLandscape(ArenaController arenaController,
javax.media.opengl.GL gl,
java.awt.geom.Rectangle2D.Double visibleArea)
Draws this
Landscape for the given area |
TerrainType |
getTerrainType(Vector position)
Assigns a terrain type to any point in the landscape.
|
public void drawLandscape(ArenaController arenaController, javax.media.opengl.GL gl, java.awt.geom.Rectangle2D.Double visibleArea)
Landscape
Landscape
for the given areadrawLandscape
in interface Landscape
arenaController
- - for drawingvisibleArea
- - area to drawpublic TerrainType getTerrainType(Vector position)
Landscape
getTerrainType
in interface Landscape
position
- [m]; global axes and coordsTerrainType