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