Safe Haskell | None |
---|---|
Language | Haskell2010 |
Game.LambdaHack.Client.UI.Watch
Description
Display atomic commands received by the client.
Synopsis
- watchRespUpdAtomicUI :: MonadClientUI m => UpdAtomic -> m ()
- watchRespSfxAtomicUI :: MonadClientUI m => SfxAtomic -> m ()
Documentation
watchRespUpdAtomicUI :: 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.
watchRespSfxAtomicUI :: 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.