LambdaHack-0.6.0.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Server.DungeonGen.Cave

Description

Generation of caves (not yet inhabited dungeon levels) from cave kinds.

Synopsis

Documentation

data Cave Source #

The type of caves (not yet inhabited dungeon levels).

Constructors

Cave 

Fields

Instances

buildCave Source #

Arguments

:: COps

content definitions

-> AbsDepth

depth of the level to generate

-> AbsDepth

absolute depth

-> Int

secret tile seed

-> Id CaveKind

cave kind to use for generation

-> EnumMap Point (GroupName PlaceKind)

pos of stairs, etc.

-> Rnd Cave 

Cave generation by an algorithm inspired by the original Rogue,