civquest
Class PlateHeightGenerator

java.lang.Object
  extended bycivquest.PlateHeightGenerator
All Implemented Interfaces:
HeightGenerator

public class PlateHeightGenerator
extends java.lang.Object
implements HeightGenerator


Constructor Summary
PlateHeightGenerator(Registry nregistry)
           
 
Method Summary
 void dumpEdges()
           
 void dumpMapData()
           
 void dumpPlates()
           
 void generate(MapData mapdata)
          Generates height-levels for the whole map.
 boolean isFlatEarth()
          Returns if the earth is flat.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlateHeightGenerator

public PlateHeightGenerator(Registry nregistry)
Method Detail

generate

public void generate(MapData mapdata)
Description copied from interface: HeightGenerator
Generates height-levels for the whole map. Note that it has to set distanceToCoast for all fields (probably with a call to MapData.setDistanceToCoast).

Specified by:
generate in interface HeightGenerator

isFlatEarth

public boolean isFlatEarth()
Returns if the earth is flat.


dumpEdges

public void dumpEdges()

dumpPlates

public void dumpPlates()

dumpMapData

public void dumpMapData()