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

Safe HaskellNone

Game.LambdaHack.Client.HumanSem

Description

Semantics of human player commands.

Synopsis

Documentation

cmdHumanSem :: MonadClientUI m => HumanCmd -> m (SlideOrCmd CmdSer)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).