Safe Haskell | None |
---|---|
Language | Haskell2010 |
Abstract syntax human player commands.
- data CmdCategory
- data HumanCmd
- = Move !Vector
- | Run !Vector
- | Wait
- | MoveItem ![CStore] !CStore !Text !Text !Bool
- | Project ![Trigger]
- | Apply ![Trigger]
- | AlterDir ![Trigger]
- | TriggerTile ![Trigger]
- | StepToTarget
- | GameRestart !Text
- | GameExit
- | GameSave
- | Automate
- | GameDifficultyCycle
- | PickLeader !Int
- | MemberCycle
- | MemberBack
- | DescribeItem !CStore
- | AllOwned
- | SelectActor
- | SelectNone
- | Clear
- | Repeat !Int
- | Record
- | History
- | MarkVision
- | MarkSmell
- | MarkSuspect
- | Help
- | MainMenu
- | Macro !Text ![String]
- | MoveCursor !Vector !Int
- | TgtFloor
- | TgtEnemy
- | TgtUnknown
- | TgtItem
- | TgtStair !Bool
- | TgtAscend !Int
- | EpsIncr !Bool
- | TgtClear
- | Cancel
- | Accept
- data Trigger
- noRemoteHumanCmd :: HumanCmd -> Bool
- categoryDescription :: CmdCategory -> Text
- cmdDescription :: HumanCmd -> Text
Documentation
data CmdCategory Source
Abstract syntax of player commands.
noRemoteHumanCmd :: HumanCmd -> Bool Source
Commands that are forbidden on a remote level, because they would usually take time when invoked on one. Note that some commands that take time are not included, because they don't take time in targeting mode.
cmdDescription :: HumanCmd -> Text Source
Description of player commands.