Safe Haskell | None |
---|
Display game data on the screen using one of the available frontends (determined at compile time with cabal flags).
- data ColorMode
- draw :: ColorMode -> COps -> Perception -> State -> Overlay -> SingleFrame
- animate :: State -> Diary -> COps -> Perception -> Animation -> [Maybe SingleFrame]
Documentation
Color mode for the display.
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.