civquest
Class RandomHeightGenerator

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

public class RandomHeightGenerator
extends java.lang.Object
implements HeightGenerator


Field Summary
protected  Registry registry
           
 
Constructor Summary
RandomHeightGenerator(Registry nregistry)
           
 
Method Summary
 void generate(MapData mapdata)
          Generates height-levels for the whole map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registry

protected Registry registry
Constructor Detail

RandomHeightGenerator

public RandomHeightGenerator(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