Safe Haskell | None |
---|
Game.LambdaHack.Content.PlaceKind
Description
The type of kinds of rooms, halls and passages.
Documentation
Parameters for the generation of small areas within a dungeon level.
Constructors
PlaceKind | |
A method of filling the whole area by transforming a given corner.
Constructors
CAlternate | reflect every other corner, overlapping 1 row and column |
CStretch | fill symmetrically 4 corners and stretch their borders |
CReflect | tile separately and symmetrically quarters of the place |
The choice of a fence type for the place.
validatePlaceKind :: [PlaceKind] -> [PlaceKind]Source
Filter a list of kinds, passing through only the incorrect ones, if any.
Verify that the top-left corner map is rectangular and not empty.