Safe Haskell | None |
---|---|
Language | Haskell2010 |
The type of kinds of rooms, halls and passages.
Documentation
Parameters for the generation of small areas within a dungeon level.
PlaceKind | |
|
A method of filling the whole area (except for CVerbatim, which is just placed in the middle of the area), by transforming a given corner.
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 |
CVerbatim | just build the given interior, without filling the area |
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.