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

Safe HaskellSafe-Infered

Game.LambdaHack.BindingAction

Description

Binding of keys to commands implemented with the Action monad.

Synopsis

Documentation

stdBindingSource

Arguments

:: CP

game config

-> (Cmd -> ActionFrame ())

semantics of abstract commands

-> (Cmd -> String)

description of abstract commands

-> Binding (ActionFrame ())

concrete binding

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