Adventure at Umalu  22nd March, 2013
Rogue-like Dungeon Crawler, written in Java
 All Classes Functions Variables Pages
Public Member Functions | Protected Member Functions | List of all members
jade.gen.map.Maze Class Reference
Inheritance diagram for jade.gen.map.Maze:

Public Member Functions

 Maze ()
 
 Maze (ColoredChar floorTile, ColoredChar wallTile)
 

Protected Member Functions

void generateStep (World world, Dice dice)
 

Detailed Description

Uses a randomized version of Prim's algorithm to generate perfect mazes.

Constructor & Destructor Documentation

jade.gen.map.Maze.Maze ( )

Creates a new instance of

with a default open tile of '.' and a default closed tile of '#'.

jade.gen.map.Maze.Maze ( ColoredChar  floorTile,
ColoredChar  wallTile 
)

Initializes Maze with default parameters.

Parameters
floorTilethe face of the open tiles
wallTilethe face oof the closed tiles

The documentation for this class was generated from the following file: