jurpe.dungeon.generator
Class Dungeonifier
java.lang.Object
jurpe.dungeon.generator.Mazifier
jurpe.dungeon.generator.Dungeonifier
- All Implemented Interfaces:
- IDungeonGenerator
public class Dungeonifier
- extends Mazifier
- implements IDungeonGenerator
Dungeon Generator class.
A dungeon is a "sparse" maze with rooms
(add Sparsify and MakeRooms to Mazifier)
- See Also:
hexgenerator.Mazifier
|
Constructor Summary |
Dungeonifier(java.util.Random rnd,
Log log,
short x,
short y)
Constructor |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dungeonifier
public Dungeonifier(java.util.Random rnd,
Log log,
short x,
short y)
- Constructor
- Parameters:
x - Width of dungeony - Height of dungeon
createDungeon
public RpgMap createDungeon(int level)
throws JurpeException
- Create a new dungeon
- Specified by:
createDungeon in interface IDungeonGenerator- Overrides:
createDungeon in class Mazifier
- Parameters:
level - Level of the dungeon
- Returns:
- Newly created dungeon
- Throws:
JurpeException- See Also:
hexgenerator.RpgMap
Copyright ? 2010 http://jurpe.sourceforge.net/ All Rights Reserved.