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

Safe HaskellNone

Game.LambdaHack.Frontend

Contents

Description

Display game data on the screen and receive user input using one of the available raw frontends and derived operations.

Synopsis

Re-exported part of the raw frontend

frontendName :: StringSource

The name of the chosen frontend.

Derived operation

Connection channels

data FrontReq Source

Constructors

FrontFrame

show a frame, if the fid acitve, or save it to the client's queue

Fields

frontAc :: !AcFrame
 
FrontKey

flush frames, possibly show fadeout/fadein and ask for a keypress

Fields

frontKM :: ![KM]
 
frontFr :: !SingleFrame
 
FrontSlides

show a whole slideshow without interleaving with other clients

Fields

frontClear :: ![KM]
 
frontSlides :: ![SingleFrame]
 
FrontFinish

exit frontend loop

data ConnMulti Source

Multiplex connection channels, for the case of a frontend shared among clients. This is transparent to the clients themselves.

Constructors

ConnMulti 

Fields

fromMulti :: !FromMulti
 
toMulti :: !ToMulti