LambdaHack-0.6.2.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.HandleHumanM

Description

Semantics of human player commands.

Synopsis

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).