rlgamekit.map.generators
Class MinesGenerator

java.lang.Object
  extended by rlgamekit.map.generators.AbstractMapGenerator
      extended by rlgamekit.map.generators.MinesGenerator
All Implemented Interfaces:
MapGenerator

public class MinesGenerator
extends AbstractMapGenerator

This will create 'mines' type maps, that is, mazes of straight corridors.


Constructor Summary
MinesGenerator(java.util.Properties props)
           
 
Method Summary
 LayeredMap generate(int width, int height)
          Generate a map with the setting passed to the constructor and the given height and width.
 
Methods inherited from class rlgamekit.map.generators.AbstractMapGenerator
getInt, getInt, getIntegers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinesGenerator

public MinesGenerator(java.util.Properties props)
Method Detail

generate

public LayeredMap generate(int width,
                           int height)
Generate a map with the setting passed to the constructor and the given height and width.

Parameters:
width - Width of map to generate.
height - Height of map to generate.
Returns:
The generated map.