LambdaHack-0.8.3.0: A game engine library for tactical squad ASCII roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.Slideshow

Contents

Description

Slideshows.

Synopsis

Documentation

type KYX = (Either [KM] SlotChar, (Y, X, X)) #

A key or an item slot label at a given position on the screen.

type OKX = (Overlay, [KYX]) #

An Overlay of text with an associated list of keys or slots that activated when the specified screen position is pointed at. The list should be sorted wrt rows and then columns.

data Slideshow #

A list of active screenfulls to be shown one after another. Each screenful has an independent numbering of rows and columns.

Instances
Eq Slideshow # 
Instance details

Defined in Game.LambdaHack.Client.UI.Slideshow

Show Slideshow # 
Instance details

Defined in Game.LambdaHack.Client.UI.Slideshow

wrapOKX :: Y -> X -> X -> [(KM, String)] -> OKX #

splitOverlay :: X -> Y -> Report -> [KM] -> OKX -> Slideshow #

splitOKX :: X -> Y -> AttrLine -> [KM] -> OKX -> [OKX] #

Internal operations

keysOKX :: Y -> X -> X -> [KM] -> OKX #