Safe Haskell | None |
---|
Semantics of Cmd
client commands that return server commands.
A couple of them do not take time, the rest does.
TODO: document
- moveRunHuman :: MonadClientUI m => Bool -> Vector -> m (SlideOrCmd RequestAnyAbility)
- waitHuman :: MonadClientUI m => m (RequestTimed AbWait)
- moveItemHuman :: MonadClientUI m => [CStore] -> CStore -> Part -> Bool -> m (SlideOrCmd (RequestTimed AbMoveItem))
- projectHuman :: MonadClientUI m => [Trigger] -> m (SlideOrCmd (RequestTimed AbProject))
- applyHuman :: MonadClientUI m => [Trigger] -> m (SlideOrCmd (RequestTimed AbApply))
- alterDirHuman :: MonadClientUI m => [Trigger] -> m (SlideOrCmd (RequestTimed AbAlter))
- triggerTileHuman :: MonadClientUI m => [Trigger] -> m (SlideOrCmd (RequestTimed AbTrigger))
- stepToTargetHuman :: MonadClientUI m => m (SlideOrCmd RequestAnyAbility)
- gameRestartHuman :: MonadClientUI m => GroupName -> m (SlideOrCmd RequestUI)
- gameExitHuman :: MonadClientUI m => m (SlideOrCmd RequestUI)
- gameSaveHuman :: MonadClientUI m => m RequestUI
- tacticHuman :: MonadClientUI m => m (SlideOrCmd RequestUI)
- automateHuman :: MonadClientUI m => m (SlideOrCmd RequestUI)
Commands that usually take time
moveRunHuman :: MonadClientUI m => Bool -> Vector -> m (SlideOrCmd RequestAnyAbility)Source
waitHuman :: MonadClientUI m => m (RequestTimed AbWait)Source
Leader waits a turn (and blocks, etc.).
moveItemHuman :: MonadClientUI m => [CStore] -> CStore -> Part -> Bool -> m (SlideOrCmd (RequestTimed AbMoveItem))Source
projectHuman :: MonadClientUI m => [Trigger] -> m (SlideOrCmd (RequestTimed AbProject))Source
applyHuman :: MonadClientUI m => [Trigger] -> m (SlideOrCmd (RequestTimed AbApply))Source
alterDirHuman :: MonadClientUI m => [Trigger] -> m (SlideOrCmd (RequestTimed AbAlter))Source
Ask for a direction and alter a tile, if possible.
triggerTileHuman :: MonadClientUI m => [Trigger] -> m (SlideOrCmd (RequestTimed AbTrigger))Source
Leader tries to trigger the tile he's standing on.
Commands that never take time
gameRestartHuman :: MonadClientUI m => GroupName -> m (SlideOrCmd RequestUI)Source
gameExitHuman :: MonadClientUI m => m (SlideOrCmd RequestUI)Source
gameSaveHuman :: MonadClientUI m => m RequestUISource
tacticHuman :: MonadClientUI m => m (SlideOrCmd RequestUI)Source
automateHuman :: MonadClientUI m => m (SlideOrCmd RequestUI)Source