LambdaHack-0.8.1.2: A game engine library for tactical squad ASCII roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Server.EndM

Contents

Description

Server operations used when ending game and deciding whether to end.

Synopsis

Documentation

endOrLoop :: (MonadServerAtomic m, MonadServerReadRequest m) => m () -> (Maybe (GroupName ModeKind) -> m ()) -> m () Source #

Continue or exit or restart the game.

writeSaveAll :: MonadServerAtomic m => Bool -> m () Source #

Save game on server and all clients.

Internal operations

dropAllItems :: MonadServerAtomic m => ActorId -> Actor -> m () Source #

Drop all actor's items.