Safe Haskell | None |
---|
Labyrinth.Map
Documentation
Constructors
Land | |
Armory | |
Hospital | |
Pit | |
Fields
| |
River | |
Fields | |
RiverDelta |
Constructors
Cell | |
Fields
|
Constructors
Player | |
Fields
|
Constructors
Labyrinth | |
data LabyrinthFeatures Source
Constructors
LabyrinthFeatures | |
data LabyrinthParams Source
Constructors
LabyrinthParams | |
Fields
|
wayOutside :: Position -> Labyrinth -> BoolSource
playerCount :: Labyrinth -> IntSource
posRectangle :: Int -> Int -> [Position]Source
ix' :: (Functor f, Ixed (BazaarT p f (IxValue t) (IxValue t)) t, Indexable (Index t) p) => Index t -> Over p f t t (IxValue t) (IxValue t)Source
allPositions :: Labyrinth -> [Position]Source
allPosCells :: Labyrinth -> [(Position, Cell)]Source