Safe Haskell | None |
---|
Semantics of most CmdClientAI
client commands.
- queryAI :: MonadClient m => ActorId -> m CmdSerTakeTime
- queryAIPick :: MonadClient m => ActorId -> m CmdSerTakeTime
- queryUI :: (MonadClientAbort m, MonadClientUI m) => ActorId -> m CmdSer
- continueRun :: MonadClientAbort m => ActorId -> (Vector, Int) -> m CmdSer
- humanCommand :: forall m. (MonadClientAbort m, MonadClientUI m) => Msg -> m CmdSer
Documentation
queryAI :: MonadClient m => ActorId -> m CmdSerTakeTimeSource
queryAIPick :: MonadClient m => ActorId -> m CmdSerTakeTimeSource
queryUI :: (MonadClientAbort m, MonadClientUI m) => ActorId -> m CmdSerSource
Handle the move of a UI player.
continueRun :: MonadClientAbort m => ActorId -> (Vector, Int) -> m CmdSerSource
Continue running in the given direction.
humanCommand :: forall m. (MonadClientAbort m, MonadClientUI m) => Msg -> m CmdSerSource
Determine and process the next human player command. The argument is the last abort message due to running, if any.