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

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.HandleHumanLocalM

Contents

Description

Semantics of HumanCmd client commands that do not return server commands. None of such commands takes game time.

Synopsis

Meta commands

Local commands

clearHuman :: MonadClientUI m => m () Source #

Clear current messages, cycle key hints mode.

chooseItemHuman :: MonadClientUI m => ItemDialogMode -> m MError Source #

Display items from a given container store and possibly let the user chose one.

memberCycleHuman :: MonadClientUI m => m MError Source #

Switches current member to the next on the viewed level, if any, wrapping.

memberBackHuman :: MonadClientUI m => m MError Source #

Switches current member to the previous in the whole dungeon, wrapping.

historyHuman :: forall m. MonadClientUI m => m () Source #

Commands specific to aiming

cancelHuman :: MonadClientUI m => m () Source #

End aiming mode, rejecting the current position.

acceptHuman :: MonadClientUI m => m () Source #

Accept the current x-hair position as target, ending aiming mode, if active.

moveXhairHuman :: MonadClientUI m => Vector -> Int -> m MError Source #

Move the xhair. Assumes aiming mode.

aimTgtHuman :: MonadClientUI m => m MError Source #

Start aiming.

aimFloorHuman :: MonadClientUI m => m () Source #

Cycle aiming mode. Do not change position of the xhair, switch among things at that position.

aimAscendHuman :: MonadClientUI m => Int -> m MError Source #

Change the displayed level in aiming mode to (at most) k levels shallower. Enters aiming mode, if not already in one.

epsIncrHuman :: MonadClientUI m => Bool -> m () Source #

Tweak the eps parameter of the aiming digital line.