civquest
Interface HeightGenerator

All Known Implementing Classes:
PlateHeightGenerator, RandomHeightGenerator

public interface HeightGenerator

A HeightGenerator generates height-levels for the whole map.


Method Summary
 void generate(MapData mapdata)
          Generates height-levels for the whole map.
 

Method Detail

generate

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