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

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.FrameM

Description

A set of Frame monad operations.

Synopsis

Documentation

drawOverlay :: MonadClientUI m => ColorMode -> Bool -> [AttrLine] -> LevelId -> m FrameForall Source #

Draw the current level with the overlay on top. If the overlay is too long, it's truncated. Similarly, for each line of the overlay, if it's too wide, it's truncated.

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

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