public interface Landscape
JRobots
in all its diversitites shares several commonalities.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.
|
void drawLandscape(ArenaController arenaController, javax.media.opengl.GL gl, java.awt.geom.Rectangle2D.Double visibleArea)
Landscape
for the given areaarenaController
- - for drawinggl
- visibleArea
- - area to drawTerrainType getTerrainType(Vector position)
position
- [m]; global axes and coordsTerrainType