LambdaHack-0.2.10.6: A roguelike game engine in early and active development

Safe HaskellNone

Game.LambdaHack.Client.ClientSem

Description

Semantics of most CmdClientAI client commands.

Synopsis

Documentation

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.