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

Safe HaskellNone

Game.LambdaHack.Client.HumanSem

Description

Semantics of human player commands.

Synopsis

Documentation

cmdHumanSem :: (MonadClientAbort m, MonadClientUI m) => HumanCmd -> WriterT Slideshow m (Maybe 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. Time cosuming commands are marked as such in help and cannot be invoked in targeting mode on a remote level (level different than the level of the selected hero).