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

Safe HaskellSafe-Inferred

Game.LambdaHack.Msg

Description

Game messages displayed on top of the screen for the player to read.

Synopsis

Documentation

type Msg = StringSource

The type of messages.

more :: MsgSource

The "press something to see more" mark.

msgEnd :: MsgSource

The "the end of overlays or messages" mark.

yesno :: MsgSource

The confirmation request message.

addMsg :: Msg -> Msg -> MsgSource

Append two messages.

splitMsg :: Int -> Msg -> Int -> [String]Source

Split a message into chunks that fit in one line.

padMsg :: Int -> String -> StringSource

Add spaces at the message end, for display overlayed over the level map.