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

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.MsgM

Description

Client monad for interacting with a human through UI.

Synopsis

Documentation

msgAdd :: MonadClientUI m => Text -> m () Source #

Add a message to the current report.

promptAdd :: MonadClientUI m => Text -> m () Source #

Add a prompt to the current report.

promptAddAttr :: MonadClientUI m => AttrLine -> m () Source #

Add a prompt to the current report.

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

Store current report in the history and reset report.