LambdaHack-0.11.0.0: A game engine library for tactical squad ASCII roguelike dungeon crawlers
Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.Content.Input

Description

The type of definitions of key-command mappings to be used for the UI and shorthands for specifying command triples in the content files.

Synopsis

Documentation

newtype InputContentRaw Source #

Key-command mappings to be specified in content and used for the UI.

Constructors

InputContentRaw [(KM, CmdTriple)] 

data InputContent Source #

Bindings and other information about human player commands.

Constructors

InputContent 

Fields

makeData Source #

Arguments

:: Maybe UIOptions

UI client options

-> InputContentRaw

default key bindings from the content

-> InputContent

concrete binding

Create binding of keys to movement and other standard commands, as well as commands defined in the config file.

flingTs :: [TriggerItem] Source #

flingTs - list containing one flingable projectile >>> flingTs [TriggerItem {tiverb = Text "fling", tiobject = Text "in-range projectile", tisymbols = ""}]

I question the value of that test. But would Bob Martin like it on the grounds it's like double-bookkeeping?

Internal operations