LambdaHack-0.2.1: A roguelike game engine in early and very active development

Safe HaskellSafe-Infered

Game.LambdaHack.Draw

Description

Display game data on the screen using one of the available frontends (determined at compile time with cabal flags).

Synopsis

Documentation

data ColorMode Source

Color mode for the display.

Constructors

ColorFull

normal, with full colours

ColorBW

black+white only

draw :: ColorMode -> COps -> Perception -> State -> Overlay -> SingleFrameSource

Draw the whole screen: level map, status area and, at most, a single page overlay of text divided into lines.

animate :: State -> Diary -> COps -> Perception -> Animation -> [Maybe SingleFrame]Source

Render animations on top of the current screen frame.