Safe Haskell | None |
---|---|
Language | Haskell2010 |
The type of definitions of key-command mappings to be used for the UI and shorthands for specifying command triples in the content files.
Synopsis
- newtype KeyKind = KeyKind [(KM, CmdTriple)]
- evalKeyDef :: (String, CmdTriple) -> (KM, CmdTriple)
- addCmdCategory :: CmdCategory -> CmdTriple -> CmdTriple
- replaceDesc :: Text -> CmdTriple -> CmdTriple
- moveItemTriple :: [CStore] -> CStore -> Part -> Bool -> CmdTriple
- repeatTriple :: Int -> CmdTriple
- mouseLMB :: CmdTriple
- mouseMMB :: CmdTriple
- mouseRMB :: CmdTriple
- goToCmd :: HumanCmd
- runToAllCmd :: HumanCmd
- autoexploreCmd :: HumanCmd
- autoexplore25Cmd :: HumanCmd
- aimFlingCmd :: HumanCmd
- projectI :: [TriggerItem] -> CmdTriple
- projectA :: [TriggerItem] -> CmdTriple
- flingTs :: [TriggerItem]
- applyIK :: [TriggerItem] -> CmdTriple
- applyI :: [TriggerItem] -> CmdTriple
- grabItems :: Text -> CmdTriple
- dropItems :: Text -> CmdTriple
- descIs :: [TriggerItem] -> Text
- descTs :: [TriggerTile] -> Text
- defaultHeroSelect :: Int -> (String, CmdTriple)
- replaceCmd :: HumanCmd -> CmdTriple -> CmdTriple
- projectICmd :: [TriggerItem] -> HumanCmd
- grabCmd :: HumanCmd
- dropCmd :: HumanCmd
Documentation
Key-command mappings to be specified in content and used for the UI.
addCmdCategory :: CmdCategory -> CmdTriple -> CmdTriple Source #
repeatTriple :: Int -> CmdTriple Source #
projectI :: [TriggerItem] -> CmdTriple Source #
projectA :: [TriggerItem] -> CmdTriple Source #
flingTs :: [TriggerItem] Source #
applyIK :: [TriggerItem] -> CmdTriple Source #
applyI :: [TriggerItem] -> CmdTriple Source #
descIs :: [TriggerItem] -> Text Source #
descTs :: [TriggerTile] -> Text Source #
Internal operations
projectICmd :: [TriggerItem] -> HumanCmd Source #