LambdaHack-0.10.2.0: A game engine library for tactical squad ASCII roguelike dungeon crawlers
Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.DisplayAtomicM

Description

Display atomic commands received by the client.

Synopsis

Documentation

displayRespUpdAtomicUI :: (MonadClient m, MonadClientUI m) => UpdAtomic -> m () Source #

Visualize atomic updates sent to the client. This is done in the global state after the command is executed and after the client state is modified by the command. Doesn't modify client state (except a few fields), but only client session (e.g., by displaying messages). This is enforced by types.

displayRespSfxAtomicUI :: (MonadClient m, MonadClientUI m) => SfxAtomic -> m () Source #

Display special effects (text, animation) sent to the client. Don't modify client state (except a few fields), but only client session (e.g., by displaying messages). This is enforced by types.

Internal operations

spotItemBag :: forall m. (MonadClient m, MonadClientUI m) => Bool -> Container -> ItemBag -> m () Source #