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
- moveLeader :: MonadClientUI m => Vector -> m CmdSer
- exploreLeader :: MonadClientUI m => Vector -> m CmdSer
- runLeader :: MonadClientUI m => Vector -> m CmdSer
- waitHuman :: MonadClientUI m => m CmdSer
- pickupHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSer
- dropHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSer
- projectLeader :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSer
- applyHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSer
- triggerDirHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSer
- triggerTileHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSer
- gameRestartHuman :: (MonadClientAbort m, MonadClientUI m) => Text -> m CmdSer
- gameExitHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSer
- gameSaveHuman :: MonadClientUI m => m CmdSer
- cfgDumpHuman :: MonadClientUI m => m CmdSer
Documentation
moveLeader :: MonadClientUI m => Vector -> m CmdSerSource
exploreLeader :: MonadClientUI m => Vector -> m CmdSerSource
runLeader :: MonadClientUI m => Vector -> m CmdSerSource
waitHuman :: MonadClientUI m => m CmdSerSource
Leader waits a turn (and blocks, etc.).
pickupHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSerSource
dropHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSerSource
Drop a single item.
projectLeader :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerSource
applyHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerSource
triggerDirHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerSource
Ask for a direction and trigger a tile, if possible.
triggerTileHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerSource
Leader tries to trigger the tile he's standing on.
gameRestartHuman :: (MonadClientAbort m, MonadClientUI m) => Text -> m CmdSerSource
gameExitHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSerSource
gameSaveHuman :: MonadClientUI m => m CmdSerSource
cfgDumpHuman :: MonadClientUI m => m CmdSerSource