rlgamekit.map.generators
Interface MapGenerator

All Known Implementing Classes:
AbstractMapGenerator, Dungeon, MinesGenerator, WildernessGenerator

public interface MapGenerator

All map generators must implement at least these methods.


Method Summary
 LayeredMap generate(int width, int height)
          Generate a new map of width x height squares.
 

Method Detail

generate

LayeredMap generate(int width,
                    int height)
Generate a new map of width x height squares. Some generators may not be able to create exact sizes.

Parameters:
width - desired map width
height - desired map height
Returns:
the generated map model or null if generation failed.