LambdaHack-0.6.2.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.KeyBindings

Description

Binding of keys to commands. No operation in this module involves the State or Action type.

Synopsis

Documentation

data Binding Source #

Bindings and other information about human player commands.

Constructors

Binding 

Fields

stdBinding Source #

Arguments

:: KeyKind

default key bindings from the content

-> Config

game config

-> Binding

concrete binding

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

keyHelp :: Binding -> Int -> [(Text, OKX)] Source #

Produce a set of help screens from the key bindings.

okxsN :: Binding -> Int -> Int -> (HumanCmd -> Bool) -> CmdCategory -> [Text] -> [Text] -> OKX Source #