Safe Haskell | None |
---|---|
Language | Haskell2010 |
Display game data on the screen using one of the available frontends (determined at compile time with cabal flags).
- targetDescLeader :: MonadClientUI m => ActorId -> m (Maybe Text, Maybe Text)
- drawBaseFrame :: MonadClientUI m => ColorMode -> LevelId -> m FrameForall
- targetDesc :: MonadClientUI m => Maybe Target -> m (Maybe Text, Maybe Text)
- targetDescXhair :: MonadClientUI m => m (Text, Maybe Text)
- drawFrameTerrain :: forall m. MonadClientUI m => LevelId -> m FrameForall
- drawFrameContent :: forall m. MonadClientUI m => LevelId -> m FrameForall
- drawFramePath :: forall m. MonadClientUI m => LevelId -> m FrameForall
- drawFrameActor :: forall m. MonadClientUI m => LevelId -> m FrameForall
- drawFrameExtra :: forall m. MonadClientUI m => ColorMode -> LevelId -> m FrameForall
- drawFrameStatus :: MonadClientUI m => LevelId -> m AttrLine
- drawArenaStatus :: Bool -> Level -> Int -> AttrLine
- drawLeaderStatus :: MonadClient m => Int -> m AttrLine
- drawLeaderDamage :: MonadClientUI m => Int -> m AttrLine
- drawSelected :: MonadClientUI m => LevelId -> Int -> EnumSet ActorId -> m (Int, AttrLine)
Documentation
targetDescLeader :: MonadClientUI m => ActorId -> m (Maybe Text, Maybe Text) Source #
drawBaseFrame :: MonadClientUI m => ColorMode -> LevelId -> m FrameForall 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.
Internal operations
targetDesc :: MonadClientUI m => Maybe Target -> m (Maybe Text, Maybe Text) Source #
targetDescXhair :: MonadClientUI m => m (Text, Maybe Text) Source #
drawFrameTerrain :: forall m. MonadClientUI m => LevelId -> m FrameForall Source #
drawFrameContent :: forall m. MonadClientUI m => LevelId -> m FrameForall Source #
drawFramePath :: forall m. MonadClientUI m => LevelId -> m FrameForall Source #
drawFrameActor :: forall m. MonadClientUI m => LevelId -> m FrameForall Source #
drawFrameExtra :: forall m. MonadClientUI m => ColorMode -> LevelId -> m FrameForall Source #
drawFrameStatus :: MonadClientUI m => LevelId -> m AttrLine Source #
drawLeaderStatus :: MonadClient m => Int -> m AttrLine Source #
drawLeaderDamage :: MonadClientUI m => Int -> m AttrLine Source #
drawSelected :: MonadClientUI m => LevelId -> Int -> EnumSet ActorId -> m (Int, AttrLine) Source #