Safe Haskell | None |
---|---|
Language | Haskell2010 |
Display game data on the screen using one of the available frontends (determined at compile time with cabal flags).
Documentation
Color mode for the display.
draw :: MonadClient m => Bool -> ColorMode -> LevelId -> Maybe Point -> Maybe Point -> Maybe (Array BfsDistance, Maybe [Point]) -> (Text, Maybe Text) -> (Text, Maybe Text) -> Overlay -> m SingleFrame Source
Draw the whole screen: level map and status area. Pass at most a single page if overlay of text unchanged to the frontends to display separately or overlay over map, depending on the frontend.