| Safe Haskell | Safe-Infered |
|---|
Game.LambdaHack.BindingAction
Description
Binding of keys to commands implemented with the Action monad.
- stdBinding :: CP -> (Cmd -> ActionFrame ()) -> (Cmd -> String) -> Binding (ActionFrame ())
Documentation
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.