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

Safe HaskellNone

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