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
- moveRunAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> Vector -> m CmdSerTakeTime
- displaceAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> ActorId -> m CmdSerTakeTime
- meleeAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> ActorId -> m CmdSerTakeTime
- waitHuman :: MonadClientUI m => m CmdSerTakeTime
- pickupHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSerTakeTime
- dropHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSerTakeTime
- projectAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> [Trigger] -> m CmdSerTakeTime
- applyHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerTakeTime
- alterDirHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerTakeTime
- triggerTileHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerTakeTime
- 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
moveRunAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> Vector -> m CmdSerTakeTime
Actor moves or searches or alters. No visible actor at the position.
displaceAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> ActorId -> m CmdSerTakeTime
Actor swaps position with another.
meleeAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> ActorId -> m CmdSerTakeTime
Actor atttacks an enemy actor or his own projectile.
waitHuman :: MonadClientUI m => m CmdSerTakeTime
Leader waits a turn (and blocks, etc.).
pickupHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSerTakeTime
dropHuman :: (MonadClientAbort m, MonadClientUI m) => m CmdSerTakeTime
Drop a single item.
projectAid :: (MonadClientAbort m, MonadClientUI m) => ActorId -> [Trigger] -> m CmdSerTakeTime
applyHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerTakeTime
alterDirHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerTakeTime
Ask for a direction and alter a tile, if possible.
triggerTileHuman :: (MonadClientAbort m, MonadClientUI m) => [Trigger] -> m CmdSerTakeTime
Leader tries to trigger the tile he's standing on.
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