Safe Haskell | None |
---|
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 :: Bool -> ColorMode -> COps -> Perception -> LevelId -> Maybe ActorId -> Maybe Point -> Maybe Point -> Maybe (Array BfsDistance, Maybe [Point]) -> StateClient -> State -> Text -> Text -> Overlay -> SingleFrameSource
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.