Safe Haskell | None |
---|
Semantics of most CmdClientAI
client commands.
- queryAI :: MonadClient m => ActorId -> m CmdTakeTimeSer
- refreshTarget :: MonadClient m => ActorId -> (ActorId, Actor) -> m (Maybe ((ActorId, Actor), (Target, PathEtc)))
- queryAIPick :: MonadClient m => (ActorId, Actor) -> m CmdTakeTimeSer
- queryUI :: MonadClientUI m => ActorId -> m CmdSer
- humanCommand :: forall m. MonadClientUI m => Maybe Msg -> m CmdSer
Documentation
queryAI :: MonadClient m => ActorId -> m CmdTakeTimeSerSource
refreshTarget :: MonadClient m => ActorId -> (ActorId, Actor) -> m (Maybe ((ActorId, Actor), (Target, PathEtc)))Source
queryAIPick :: MonadClient m => (ActorId, Actor) -> m CmdTakeTimeSerSource
queryUI :: MonadClientUI m => ActorId -> m CmdSerSource
Handle the move of a UI player.
humanCommand :: forall m. MonadClientUI m => Maybe Msg -> m CmdSerSource
Determine and process the next human player command. The argument is the last stop message due to running, if any.