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

Game.LambdaHack.Client.UI.FrameM

Description

A set of Frame monad operations.

Synopsis

Documentation

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

Push the frame depicting the current level to the frame queue. Only one line of the report is shown, as in animations, because it may not be our turn, so we can't clear the message to see what is underneath.

animate :: MonadClientUI m => LevelId -> Animation -> m () Source #

Render and display animations on top of the current screen frame.

Internal operations

drawOverlay :: MonadClientUI m => ColorMode -> Bool -> FontOverlayMap -> LevelId -> m PreFrame3 Source #

Draw the current level with the overlay on top.

renderAnimFrames :: MonadClientUI m => Bool -> LevelId -> Animation -> m PreFrames3 Source #

Render animations on top of the current screen frame.