com.aranai.dungeonator.generator
Class DungeonChunkGenerator

java.lang.Object
  extended by com.aranai.dungeonator.generator.DungeonChunkGenerator

public class DungeonChunkGenerator
extends java.lang.Object

Handles the down and dirty details of dungeon data generation


Constructor Summary
DungeonChunkGenerator()
           
 
Method Summary
 void generateChunk(DungeonChunk dc)
          Generates chunk data for a new DungeonChunk.
private  void generateProceduralChunk(DungeonChunk dc, DungeonChunkDoorway[] candidateDoorways)
          Generates basic procedural chunk data using the specified DungeonChunk and candidate doorways.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DungeonChunkGenerator

public DungeonChunkGenerator()
Method Detail

generateChunk

public void generateChunk(DungeonChunk dc)
Generates chunk data for a new DungeonChunk.

Parameters:
dc - the new DungeonChunk to process

generateProceduralChunk

private void generateProceduralChunk(DungeonChunk dc,
                                     DungeonChunkDoorway[] candidateDoorways)
Generates basic procedural chunk data using the specified DungeonChunk and candidate doorways.

Parameters:
dc - the DungeonChunk being processed
candidateDoorways - the candidate doorways