LambdaHack-0.2.12: A roguelike game engine in early and active development

Safe HaskellNone

Game.LambdaHack.Client.HumanGlobal

Contents

Description

Semantics of Cmd client commands that return server commands. A couple of them do not take time, the rest does. TODO: document

Synopsis

Commands that usually take time

waitHuman :: MonadClientUI m => m CmdTakeTimeSerSource

Leader waits a turn (and blocks, etc.).

dropHuman :: MonadClientUI m => m (SlideOrCmd CmdTakeTimeSer)Source

Drop a single item.

alterDirHuman :: MonadClientUI m => [Trigger] -> m (SlideOrCmd CmdTakeTimeSer)Source

Ask for a direction and alter a tile, if possible.

triggerTileHuman :: MonadClientUI m => [Trigger] -> m (SlideOrCmd CmdTakeTimeSer)Source

Leader tries to trigger the tile he's standing on.

Commands that never take time

Helper definitions