Interface ElevationGenerator

All Known Implementing Classes:
SimplexGenerator

public interface ElevationGenerator
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generate(int hilliness, int width, int height, int[][] elevationMap)
    Generate a map of given width and height and put it into the supplied elevation map
     
     
  • Method Details

    • getName

      String getName()
      Returns:
      translatable string for the generator name
    • getTooltip

      String getTooltip()
      Returns:
      translatable string for the tooltip / description
    • generate

      void generate(int hilliness, int width, int height, int[][] elevationMap)
      Generate a map of given width and height and put it into the supplied elevation map
      Parameters:
      hilliness - 1-100
      width - width of the map, in hexes
      height - height of the map, in hexes
      elevationMap - the target elevation map, indexed as elevationMap[width][height]