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

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.HandleHumanClient

Description

Semantics of human player commands.

Synopsis

Documentation

cmdHumanSem :: MonadClientUI m => HumanCmd -> m (SlideOrCmd RequestUI) 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 targeting mode, but cannot be invoked in targeting mode on a remote level (level different than the level of the leader).