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

Safe HaskellNone

Game.LambdaHack.BindingAction

Description

Binding of keys to commands implemented with the Action monad.

Synopsis

Documentation

stdBindingSource

Arguments

:: CP

game config

-> (Cmd -> Action ())

semantics of abstract commands

-> (Cmd -> String)

description of abstract commands

-> Binding (Action ())

concrete binding

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