Safe Haskell | None |
---|---|
Language | Haskell2010 |
Semantics of human player commands.
- cmdHumanSem :: MonadClientUI m => HumanCmd -> m (Either MError ReqUI)
Documentation
cmdHumanSem :: MonadClientUI m => HumanCmd -> m (Either MError ReqUI) Source #
The semantics of human player commands in terms of the Action
monad.
Decides if the action takes time and what action to perform.
Some time cosuming commands are enabled in aiming mode, but cannot be
invoked in aiming mode on a remote level (level different than
the level of the leader).