LambdaHack-0.2.14: A roguelike game engine in early development

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.HandleHumanGlobalClient

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 (RequestTimed AbWait) Source

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

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

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

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

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

Commands that never take time