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

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Server.StartM

Contents

Description

Operations for starting and restarting the game.

Synopsis

Documentation

applyDebug :: MonadServer m => m () Source #

Apply options that don't need a new game.

Internal operations

mapFromFuns :: (Bounded a, Enum a, Ord b) => [a -> b] -> Map b a Source #

findEntryPoss :: COps -> LevelId -> Level -> Int -> Rnd [Point] Source #

Find starting postions for all factions. Try to make them distant from each other. Place as many of the factions, as possible, over stairs, starting from the end of the list, including placing the last factions over escapes (we assume they are guardians of the escapes). This implies the inital factions (if any) start far from escapes.