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

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Content.CaveKind

Description

The type of cave layout kinds.

Synopsis

Documentation

data CaveKind Source #

Parameters for the generation of dungeon levels. Warning: for efficiency, avoid embedded items in any of the common tiles.

Constructors

CaveKind 

Fields

validateSingleCaveKind :: CaveKind -> [Text] Source #

Catch caves with not enough space for all the places. Check the size of the cave descriptions to make sure they fit on screen. Etc.

validateAllCaveKind :: [CaveKind] -> [Text] Source #

Validate all cave kinds. Note that names don't have to be unique: we can have several variants of a cave with a given name.